[Snek] [keith-packard/snek] 467439: Add 'void' values (using SNEK_NULL) and supress pr...
Keith Packard
noreply at github.com
Thu Feb 14 12:31:43 PST 2019
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: 46743953e3bfd1890a588b53c446e52275690c92
https://github.com/keith-packard/snek/commit/46743953e3bfd1890a588b53c446e52275690c92
Author: Keith Packard <keithp at keithp.com>
Date: 2019-02-14 (Thu, 14 Feb 2019)
Changed paths:
M snek-code.c
M snek-gram.ll
M snek-poly.c
M snek.h
Log Message:
-----------
Add 'void' values (using SNEK_NULL) and supress printing those.
This makes the top-level code skip printing values from functions
without a return value.
Also make snek_code_delete_prev non-inline as it's used more times.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: f2b60f3788e956053bf989d3a187e58a544faadc
https://github.com/keith-packard/snek/commit/f2b60f3788e956053bf989d3a187e58a544faadc
Author: Keith Packard <keithp at keithp.com>
Date: 2019-02-14 (Thu, 14 Feb 2019)
Changed paths:
M snek-code.c
M snek-gram.ll
M snek-lex.c
M snek-parse.c
M snek.h
Log Message:
-----------
Clean up line number handling.
Make lexer track lex lines, including through unget. Set snek_line =
snek_lex_line after each token is lexed. Add op_line before each
statement line (compount-stat and simple-stat). This places one before
any executable code on a new line. Leave off an op_line after elif
because it doesn't fit on Arduino today.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b68391297e17fccc76bc881bdc5005ec2db2e7e1
https://github.com/keith-packard/snek/commit/b68391297e17fccc76bc881bdc5005ec2db2e7e1
Author: Keith Packard <keithp at keithp.com>
Date: 2019-02-14 (Thu, 14 Feb 2019)
Changed paths:
M posix/snek-curses.c
M posix/snek-posix.c
M snek-builtin.c
M snek-code.c
M snek-duino/snek-duino-eeprom.c
M snek-duino/snek-duino.c
M snek-error.c
M snek-gram.ll
M snek-list.c
M snek-poly.c
Log Message:
-----------
Use SNEK_NULL as return to many builtin functions
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/570b057e0600...b68391297e17
More information about the Snek
mailing list