mu/apps/tile
Kartik K. Agaram 446a6704cb 7757 2021-02-19 02:39:22 -08:00
..
README.md 7140 2020-10-29 13:19:53 -07:00
box.mu 7690 2021-02-07 00:20:29 -08:00
data.mu 7690 2021-02-07 00:20:29 -08:00
environment.mu 7690 2021-02-07 00:20:29 -08:00
float-stack.mu 7690 2021-02-07 00:20:29 -08:00
gap-buffer.mu 7692 2021-02-07 10:52:04 -08:00
grapheme-stack.mu 7690 2021-02-07 00:20:29 -08:00
main.mu 7690 2021-02-07 00:20:29 -08:00
rpn.mu 7690 2021-02-07 00:20:29 -08:00
surface.mu 7690 2021-02-07 00:20:29 -08:00
table.mu 7690 2021-02-07 00:20:29 -08:00
value-stack.mu 7690 2021-02-07 00:20:29 -08:00
value.mu 7690 2021-02-07 00:20:29 -08:00
vimrc.vim 6842 - hackily load local Vim settings 2020-09-23 21:43:23 -07:00
word.mu 7757 2021-02-19 02:39:22 -08:00

README.md

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

screenshot

To run:

./translate_mu apps/tile/*.mu
./a.elf screen

To run tests:

./a.elf test

To run a conventional REPL (for debugging):

./a.elf type

hacking

Unlike the top-level directory, this is just a prototype so far. 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)