Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.
Go to file
Kartik K. Agaram 0cd4bfc8ae 46 - there's no continue bug after all in anarki 2014-08-02 02:25:32 -07:00
Readme 42 - update Readme 2014-07-31 02:09:45 -07:00
mu.arc 46 - there's no continue bug after all in anarki 2014-08-02 02:25:32 -07:00
mu.arc.t 46 - there's no continue bug after all in anarki 2014-08-02 02:25:32 -07:00
new.mu 44 - now 'deref' is a bit of metadata on any operand rather than a special op 2014-07-31 02:27:41 -07:00
x.mu 42 - update Readme 2014-07-31 02:09:45 -07:00

Readme

== 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