[Snek] [keith-packard/snek] 65bf10: Del opcode has an 'id' parameter
Keith Packard
noreply at github.com
Sun Dec 12 22:07:02 PST 2021
Branch: refs/heads/str-builtin
Home: https://github.com/keith-packard/snek
Commit: 65bf10d8f4a462d8fd4f99f1a63f6b4c4dce05d1
https://github.com/keith-packard/snek/commit/65bf10d8f4a462d8fd4f99f1a63f6b4c4dce05d1
Author: Keith Packard <keithp at keithp.com>
Date: 2021-11-21 (Sun, 21 Nov 2021)
Changed paths:
M snek-code.c
Log Message:
-----------
Del opcode has an 'id' parameter
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 9d1e91ade11db2b4d95ba0ea903217b1225ddb31
https://github.com/keith-packard/snek/commit/9d1e91ade11db2b4d95ba0ea903217b1225ddb31
Author: Keith Packard <keithp at keithp.com>
Date: 2021-11-21 (Sun, 21 Nov 2021)
Changed paths:
M snek-builtin.py
M snek-frame.c
Log Message:
-----------
Initialize snek_globals from snek_init macro
This gets rid of a conditional needed in snek_pick_frame and avoids a
crash in snek_id_del if called before snek_globals was initialized.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 0f6c4edab3f9d4e2d888d9c5d2c38292b327e66b
https://github.com/keith-packard/snek/commit/0f6c4edab3f9d4e2d888d9c5d2c38292b327e66b
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-print.c
Log Message:
-----------
Remove line number from function print result
Printing the line number where a function was defined was kinda nice,
but it takes a bunch of code space which can be better used for other
things.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 4222c297e18c80fcf5a1f70a9f31444925087899
https://github.com/keith-packard/snek/commit/4222c297e18c80fcf5a1f70a9f31444925087899
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-print.c
Log Message:
-----------
Initialize the format for printing more efficiently
Putting the format on the stack and initializing it with statements
takes less space than having it static and initialized partially at
boot time and partially at runtime.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 5e4d3f5a95df2a169c7996b33a2cb9d8943ba614
https://github.com/keith-packard/snek/commit/5e4d3f5a95df2a169c7996b33a2cb9d8943ba614
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-gram.ll
Log Message:
-----------
Merge a couple of actions together in 'DEF'
Setting nformal/nnamed can wait until the NAME is lexed, merging these
actions together saves a bit of text space.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: b7037af7a868be528e0673092abcd2f5e3e20af2
https://github.com/keith-packard/snek/commit/b7037af7a868be528e0673092abcd2f5e3e20af2
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-print.c
Log Message:
-----------
Fix list printing to use 'a' format for elements
Lists/dicts/tuples always have their elements printed in 'a' format so
that you can see the strings clearly.
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 1ec15b6587ba1b4687aea2031e1a47248f6467db
https://github.com/keith-packard/snek/commit/1ec15b6587ba1b4687aea2031e1a47248f6467db
Author: Keith Packard <keithp at keithp.com>
Date: 2021-12-12 (Sun, 12 Dec 2021)
Changed paths:
M snek-input.builtin
M snek-string.c
M test/Makefile
A test/pass-str.py
Log Message:
-----------
Add 'str' builtin
This is the same as using %s format on the object
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/65bf10d8f4a4%5E...1ec15b6587ba
More information about the Snek
mailing list