about summary refs log tree commit diff stats
path: root/apps/tile/README.md
blob: a13f766289da692326b7053bd253dbfabb96332c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
A programming environment that tries to [“stop drawing dead fish”](http://worrydream.com/#!/StopDrawingDeadFish).

<img alt='screenshot' src='../../html/rpn5.png' width='500px'>

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)