|  | Commit message (Collapse) | Author | Age | 
|---|
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | flush -> flush-output
nth -> list-ref (oh, and add list-tail)
add let* (same as let for now)
write control chars in octal
make hanoi example work
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | With the default ints being only 14 bits, having a larger type with
more precision seems useful. This is not exposed to the application.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | * print -> write, patom -> display
* Add read-char, write-char
* Add exit, current-jiffy, current-second, jiffies-per-second
* Add for-each and string-for-each
* Avoid duplicate builtins with different atoms
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | The cdr of a cons can be any value; add support for lexing and
printing them.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | Saves some memory.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | This should make it quite a bit faster than doing one at a time.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| | lots more builtins
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| | Use global ao_lisp_stack instead of local stack so that gc
moves of that item work.
Signed-off-by: Keith Packard <keithp@keithp.com> | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | 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> | 
| | |  | 
|  | Signed-off-by: Keith Packard <keithp@keithp.com> |