about summary refs log tree commit diff stats
path: root/linux/tile/README.md
blob: f82c838a2055c917662d0374009644ec1f954143 (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:

```
$ 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)