[Snek] [keith-packard/snek] b70a4f: snek-duino: Increase runtime stack to 32 elements

Keith Packard noreply at github.com
Thu Feb 21 23:39:28 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/keith-packard/snek
  Commit: b70a4fe795cc71eaab30d5ef9bab0f8432a9c259
      https://github.com/keith-packard/snek/commit/b70a4fe795cc71eaab30d5ef9bab0f8432a9c259
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M snek-duino/snek-duino.h

  Log Message:
  -----------
  snek-duino: Increase runtime stack to 32 elements

Run out less often?

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


  Commit: e237f89404870ddda7ddd7747afef10af207280a
      https://github.com/keith-packard/snek/commit/e237f89404870ddda7ddd7747afef10af207280a
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M snek-lex.c

  Log Message:
  -----------
  Inhibit INDENT and EXDENT while ignoring newlines

Inside parens, we need to inhibit indentation changing tokens along
with newlines so that the parser doesn't see them.

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


  Commit: e47b380a41a22fa006d4dcdbfa85efe9d3e99e24
      https://github.com/keith-packard/snek/commit/e47b380a41a22fa006d4dcdbfa85efe9d3e99e24
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M snekde/snekde.py

  Log Message:
  -----------
  snekde: EditWin.addstr is passed window-relative coordinates

Stop subtracting the top_line value from the line coord.

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


  Commit: 24fd243b9a17f53f465af9a7b156ee6a112b2675
      https://github.com/keith-packard/snek/commit/24fd243b9a17f53f465af9a7b156ee6a112b2675
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    M snekde/snekde.py

  Log Message:
  -----------
  snekde: Use reset() instead of eeprom.load() after loading code

eeprom.load() is likely to run out of memory if we're close. Just
reset the device and let the load-at-boot code bring the new bits into
RAM.

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


  Commit: 256565b04102c4406d4d20e2f21728115c631211
      https://github.com/keith-packard/snek/commit/256565b04102c4406d4d20e2f21728115c631211
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-21 (Thu, 21 Feb 2019)

  Changed paths:
    A examples/morse.py

  Log Message:
  -----------
  Add morse code example for Arduino

Blinks the standard LED.

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


Compare: https://github.com/keith-packard/snek/compare/620d4ba69db6...256565b04102


More information about the Snek mailing list