[Snek] [keith-packard/snek] ddc221: Change return type of 'snek_string_make' to snek_p...

Keith Packard noreply at github.com
Mon Sep 16 14:30:56 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: ddc221b91e084f25b20a20526e304fb7bedce49f
      https://github.com/keith-packard/snek/commit/ddc221b91e084f25b20a20526e304fb7bedce49f
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-16 (Mon, 16 Sep 2019)

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

  Log Message:
  -----------
  Change return type of 'snek_string_make' to snek_poly_t

Every user of snek_string_make was just converting it to a poly, so
moving that conversion to snek_string_make should save code space.

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


  Commit: 19f58d5736105541ae7c7a50c6154f74737be32e
      https://github.com/keith-packard/snek/commit/19f58d5736105541ae7c7a50c6154f74737be32e
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-16 (Mon, 16 Sep 2019)

  Changed paths:
    M chips/atmega/snek-atmega.defs
    M chips/samd21/snek-samd21.defs
    M ports/mega/Makefile
    M ports/posix/Makefile
    A snek-input.builtin
    A snek-input.c
    M snek.defs

  Log Message:
  -----------
  Add 'input()', 'float(s)' and 'int(s)' builtins

These provide a mechanism for getting user data into snek applications
with the float() and int() functions providing a way to convert input
strings to numbers.

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


  Commit: 3ab75cacc26751c95d66f5a2635aa5132cb4caa3
      https://github.com/keith-packard/snek/commit/3ab75cacc26751c95d66f5a2635aa5132cb4caa3
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-09-16 (Mon, 16 Sep 2019)

  Changed paths:
    M Makefile

  Log Message:
  -----------
  Make 'upload' target depend on locally built firmware

And add an 'otheros' target to help test this.

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


Compare: https://github.com/keith-packard/snek/compare/43c09e94bc05...3ab75cacc267


More information about the Snek mailing list