altos/lisp: Add non-cons cdr support
authorKeith Packard <keithp@keithp.com>
Thu, 16 Nov 2017 21:02:07 +0000 (13:02 -0800)
committerKeith Packard <keithp@keithp.com>
Thu, 16 Nov 2017 21:02:07 +0000 (13:02 -0800)
commitbd881a5b85d7cd4fb82127f92f32e089499b50cb
treebf4f5f985e37544b1ee64a65020b809ee994e227
parent50a095fbe828b6ec3159d27930712df6b1b519b4
altos/lisp: Add non-cons cdr support

The cdr of a cons can be any value; add support for lexing and
printing them.

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_eval.c
src/lisp/ao_lisp_mem.c
src/lisp/ao_lisp_read.c
src/lisp/ao_lisp_read.h
src/lisp/ao_lisp_string.c