This commit is contained in:
Kartik K. Agaram 2014-07-18 19:08:38 -07:00
parent c82603cafb
commit 4e5cff3d4a
1 changed files with 11 additions and 1 deletions

12
Readme
View File

@ -3,6 +3,16 @@ Prerequisites: Racket from http://racket-lang.org
$ cd mu
$ git clone http://github.com/arclanguage/anarki
$ cat x.mu
(main
(1 <- loadi 1)
(2 <- loadi 3)
(3 <- add 1 2)
)
$ ./anarki/arc mu.arc x.mu
#hash((1 . 1) (2 . 3) (3 . 4)) # state of simulated memory after executing x.mu
$ ./anark/arc mu.arc.t # automated tests
# location 3 contains the sum of locations 1 and 2
$ ./anark/arc mu.arc.t # automated tests; start reading here