about summary refs log tree commit diff stats
path: root/Readme
blob: 88904c1a57eef2f5eadd07a9d4498b017faa41d0 (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
  ((1 integer) <- literal 1)
  ((2 integer) <- literal 3)
  ((3 integer) <- add (1 integer) (2 integer))
)

$ ./anarki/arc mu.arc x.mu
#hash((1 . 1) (2 . 3) (3 . 4))  # state of simulated memory after executing x.mu
  # location 3 contains the sum of locations 1 and 2

$ ./anark/arc mu.arc.t  # automated tests; start reading here