mu/linux/tile
Kartik K. Agaram 6508ab51cc .
2021-03-08 21:24:45 -08:00
..
box.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
data.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
environment.mu 7867 2021-03-07 21:05:45 -08:00
float-stack.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
gap-buffer.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
grapheme-stack.mu 7867 2021-03-07 21:05:45 -08:00
main.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
README.md . 2021-03-08 21:24:45 -08:00
rpn.mu 7867 2021-03-07 21:05:45 -08:00
surface.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
table.mu 7867 2021-03-07 21:05:45 -08:00
value-stack.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
value.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
vimrc.vim 7842 - new directory organization 2021-03-03 22:21:03 -08:00
word.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00

A programming environment that tries to “stop drawing dead fish”.

screenshot

To run:

$ cd linux
$ ./translate tile/*.mu
$ ./a.elf screen

To run tests:

$ ./a.elf test

To run a conventional REPL (for debugging):

$ ./a.elf type

hacking

This is just a prototype. There are no tests.

To add a new primitive you'll need to hard-code it into the evaluate function (apps/tile/rpn.mu).

There's also a second place you'll want to teach about predefined primitives: bound-function? (apps/tile/environment.mu)