[Snek] [keith-packard/snek] 2e7ddd: Re-order opcode table grouping binary/assign ops. ...

Keith Packard noreply at github.com
Wed Feb 13 00:40:09 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: 2e7ddda70828e0d66ab1072935efcc80edb2d7bf
      https://github.com/keith-packard/snek/commit/2e7ddda70828e0d66ab1072935efcc80edb2d7bf
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M snek-code.c
    M snek.h

  Log Message:
  -----------
  Re-order opcode table grouping binary/assign ops. Reorder VM to match. Add missing ops

This exercise uncovered three missing opcode implementations --
lshift, rshift and lnot. I've eliminated the 'default' case from the
VM to catch any future regressions.

Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: ad7df2e1e11129f3168c46ddad06ed62c6a36caa
      https://github.com/keith-packard/snek/commit/ad7df2e1e11129f3168c46ddad06ed62c6a36caa
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-13 (Wed, 13 Feb 2019)

  Changed paths:
    M snek-error.c

  Log Message:
  -----------
  Sanitize strings printed with snek-error

Check for control chars and print them in hex.

Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/ebc5d0eeb3b4...ad7df2e1e111


More information about the Snek mailing list