mu/linux/tile
Kartik Agaram 53d69dd1c5 keep 'grapheme-stack'
We want to at least document intent there.
2021-11-09 09:29:56 -08:00
..
README.md . 2021-03-29 18:47:52 -07:00
box.mu rename grapheme to code-point-utf8 2021-11-09 08:12:11 -08:00
data.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
environment.mu rename grapheme to code-point-utf8 2021-11-09 08:12:11 -08:00
float-stack.mu 7842 - new directory organization 2021-03-03 22:21:03 -08:00
gap-buffer.mu keep 'grapheme-stack' 2021-11-09 09:29:56 -08:00
grapheme-stack.mu keep 'grapheme-stack' 2021-11-09 09:29:56 -08:00
main.mu rename grapheme to code-point-utf8 2021-11-09 08:12:11 -08:00
rpn.mu 7867 2021-03-07 21:05:45 -08:00
surface.mu rename grapheme to code-point-utf8 2021-11-09 08:12:11 -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 rename grapheme to code-point-utf8 2021-11-09 08:12:11 -08:00
vimrc.vim 7842 - new directory organization 2021-03-03 22:21:03 -08:00
word.mu keep 'grapheme-stack' 2021-11-09 09:29:56 -08:00

README.md

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 (linux/tile/rpn.mu).

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