[Snek] [keith-packard/snek] 0fe1a7: Eliminate SNEK_POOL_EXTRA

Keith Packard noreply at github.com
Mon Feb 11 23:47:46 PST 2019


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

  Changed paths:
    M snek-memory.c
    M snek.h

  Log Message:
  -----------
  Eliminate SNEK_POOL_EXTRA

This isn't useful in snek as it was in ao-scheme

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


  Commit: 5d108d28d9ec6f4f1503d49cf0b3964d784525ff
      https://github.com/keith-packard/snek/commit/5d108d28d9ec6f4f1503d49cf0b3964d784525ff
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M snek-base.builtin
    M snek-lex.c

  Log Message:
  -----------
  Add True and False to snek-base.builtin

Removes special strcmp cases for these tokens and uses simple equal
tests from the existing name code.

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


  Commit: 683313f04d682e6e2bb254434e8a348d98026cf0
      https://github.com/keith-packard/snek/commit/683313f04d682e6e2bb254434e8a348d98026cf0
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M snek-builtin.py

  Log Message:
  -----------
  Clean up snek-builtin.h generation

Remove bare '#' lines (they have a trailing newline that needs trimming)
Put all declaration arguments on one line.

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


  Commit: 8a6efe695ffd99f0b36dc2bd313d110848c2cf21
      https://github.com/keith-packard/snek/commit/8a6efe695ffd99f0b36dc2bd313d110848c2cf21
  Author: Keith Packard <keithp at keithp.com>
  Date:   2019-02-11 (Mon, 11 Feb 2019)

  Changed paths:
    M snek-lex.c

  Log Message:
  -----------
  Make sure EOF gets turned into END without an extra call to lexchar()

When EOF is seen while measuring indent, we need to let it be put into
the unget buffer so that the next lexchar() call will get it instead
of (possibly) doing another read.

Reported-by: Mike Haertel <mike at ducky.net>
Signed-off-by: Keith Packard <keithp at keithp.com>


Compare: https://github.com/keith-packard/snek/compare/715a37dfda0d...8a6efe695ffd


More information about the Snek mailing list