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>
Fri, 18 Nov 2016 06:18:39 +0000 (22:18 -0800)
commite503e46f5e9ca57b7a7d976b2ee02a3d7812bc92
treee4a6e48af62ec4b87fd29b99f087d76cb873c2a4
parent71796f4407ebf11251c150dfa368f571ba12db8d
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