[Snek] [keith-packard/snek] b6fefc: Split out position and named counts in snek_op_cal...

Keith Packard noreply at github.com
Tue Jun 25 22:59:14 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: b6fefcce8d26ec14cfc70dbcd51946ef6aa10ecd
      https://github.com/keith-packard/snek/commit/b6fefcce8d26ec14cfc70dbcd51946ef6aa10ecd
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-25 (Tue, 25 Jun 2019)

  Changed paths:
    M snek-code.c

  Log Message:
  -----------
  Split out position and named counts in snek_op_call dbg

Break out these two values when printing out the debug data for this
op code.

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


  Commit: a8e190bd0d560e01ae2e48d3dfa038b5c9d047e8
      https://github.com/keith-packard/snek/commit/a8e190bd0d560e01ae2e48d3dfa038b5c9d047e8
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-25 (Tue, 25 Jun 2019)

  Changed paths:
    M chips/atmega/snek-atmega.h
    M chips/avr/snek-avr.h
    M snek-builtin.py
    M snek-math.builtin
    M snek.h

  Log Message:
  -----------
  Store builtin constants as snek_poly_t instead of float

This will allow other (non-allocated) constant values.

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


  Commit: 70cf1beab08892c70609861559f6057c9dc8554d
      https://github.com/keith-packard/snek/commit/70cf1beab08892c70609861559f6057c9dc8554d
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-25 (Tue, 25 Jun 2019)

  Changed paths:
    M snek-base.builtin

  Log Message:
  -----------
  Add 'None' builtin constant

This is a standard Python constant

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


  Commit: d61909f73971eff3ba5051b23fe7252ffbe7ca33
      https://github.com/keith-packard/snek/commit/d61909f73971eff3ba5051b23fe7252ffbe7ca33
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-06-25 (Tue, 25 Jun 2019)

  Changed paths:
    M test/Makefile
    A test/none.py

  Log Message:
  -----------
  test: Add none.py to test 'None' constant

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


Compare: https://github.com/keith-packard/snek/compare/eb37e203a84f...d61909f73971


More information about the Snek mailing list