altos/lisp: Split out read debug, add memory validation
authorKeith Packard <keithp@keithp.com>
Mon, 4 Dec 2017 03:47:03 +0000 (19:47 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 4 Dec 2017 03:47:03 +0000 (19:47 -0800)
commited6967cef5d82baacafe1c23229f44d58c838326
tree42a297a91356516df606d5a31002f6caa1df3b8a
parentb9009b3916956db00b7b78bd06fb0df704690eb1
altos/lisp: Split out read debug, add memory validation

Split read debug into a separate #define to reduce debug noise
Add some memory validation -- validate stash API, and validate
cons_free calls.

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