altos/lisp: macros appear to work now
authorKeith Packard <keithp@keithp.com>
Wed, 9 Nov 2016 19:13:58 +0000 (11:13 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 20 Feb 2017 19:16:50 +0000 (11:16 -0800)
commit0ee44c8e4bf5dabe6a97bf76b366c8b767c387f8
tree4121a5660af419a59d5dd18717e97da5d35543d6
parent794718abc62f4610495fe2bd535a2b67bc46573c
altos/lisp: macros appear to work now

Needed an extra stack frame to stash the pre-macro state. This
simplified macro processing quite a bit; a macro now just evaluates
the function and then sends that result to be evaluated again.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/lisp/ao_lisp.h
src/lisp/ao_lisp_atom.c
src/lisp/ao_lisp_error.c
src/lisp/ao_lisp_eval.c