[Snek] [keith-packard/snek] d7aaf6: Allow 'snek_string_build' to be used when construc...

Keith Packard noreply at github.com
Thu Feb 20 13:12:23 PST 2020


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

  Changed paths:
    M snek-builtin.py
    M snek-string.c
    M snek.h

  Log Message:
  -----------
  Allow 'snek_string_build' to be used when constructing builtins

This defines a new string function which constructs a snek string from
a provided string constant. If this is referenced from the constructor
for a builtin variable, it gets automatically included in the build.

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


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

  Changed paths:
    M snek-exec.c

  Log Message:
  -----------
  Save/restore stack pointer in snek_exec

We were setting it back to 0 on exit, which means that nothing outside
of exec may use the stack.

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


  Commit: 059d3397f772da5cb3d7e4c4fe29bbbf9d3fc6a0
      https://github.com/keith-packard/snek/commit/059d3397f772da5cb3d7e4c4fe29bbbf9d3fc6a0
  Author: Mikhail Gusarov <dottedmag at dottedmag.net>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    A ports/ev3/.clang-format
    A ports/ev3/.dir-locals.el
    A ports/ev3/.gitignore
    A ports/ev3/Makefile
    A ports/ev3/snek-ev3.builtin
    A ports/ev3/snek-ev3.h
    A ports/ev3/snek-main.c
    M snek-install.defs

  Log Message:
  -----------
  Add a skeleton for Lego EV3 port

Signed-off-by: Mikhail Gusarov <dottedmag at dottedmag.net>
Signed-off-by: Keith Packard <keithp at keithp.com>


  Commit: 580b68b70129b97950cd1aa754453c4a0e7df0b7
      https://github.com/keith-packard/snek/commit/580b68b70129b97950cd1aa754453c4a0e7df0b7
  Author: Keith Packard <keithp at keithp.com>
  Date:   2020-02-20 (Thu, 20 Feb 2020)

  Changed paths:
    M ports/ev3/Makefile

  Log Message:
  -----------
  ports/ev3: Use vpath to find snek-posix.c

Using a path in $(SRCS) leads to sticking the .o file in the posix
directory, which smashes the file used to build the posix snek
version.

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


Compare: https://github.com/keith-packard/snek/compare/2b817d11c813...580b68b70129


More information about the Snek mailing list