blob: 614b605814d87873f65a5db70691044f4a61dff4 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
== Installing
Prerequisites: Racket from http://racket-lang.org
$ cd mu
$ git clone http://github.com/arclanguage/anarki
$ cat x.mu
(main
((x integer) <- literal 1)
((y integer) <- literal 3)
((z integer) <- add (x integer) (y integer))
)
$ ./anarki/arc mu.arc x.mu
hash((x . 1) (y . 3) (z . 4)) # state of simulated memory after executing x.mu
# location z contains the sum of locations x and y
$ ./anark/arc mu.arc.t # automated tests; start reading here
|