Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | altos/lisp: Separate out values from atoms | Keith Packard | 2016-11-17 |
| | | | | | | | | | | | This enables changing values of atoms declared as constants, should enable lets, and with some work, even lexical scoping. this required changing the constant computation to run ao_lisp_collect() before dumping the block of constant data, and that uncovered some minor memory manager bugs. Signed-off-by: Keith Packard <keithp@keithp.com> | ||
* | altos/lisp: Change lisp objects to use ao_poly everywhere. Add const | Keith Packard | 2016-11-17 |
| | | | | | | | | | | | This makes all lisp objects use 16-bit ints for references so we can hold more stuff in small amounts of memory. Also adds a separate constant pool of lisp objects for builtins, initial atoms and constant lisp code. Now builds (and runs!) on the nucleo-32 boards. Signed-off-by: Keith Packard <keithp@keithp.com> | ||
* | altos: Add lisp reader | Keith Packard | 2016-11-17 |
| | |||
* | Add first lisp bits | Keith Packard | 2016-11-17 |
Signed-off-by: Keith Packard <keithp@keithp.com> |