Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.
Go to file
Kartik K. Agaram 3245570bc7 133 - handle missing args without error 2014-10-12 10:17:46 -07:00
Readme 49 - make Readme less ambiguous 2014-08-18 10:23:24 -07:00
edit.arc.t 123 - experiment: build the reading flow around the *test* file 2014-10-10 15:08:19 -07:00
edit.mu 121 - finally I can alloc a 2D array 2014-10-07 14:03:09 -07:00
fork.mu 94 - old multiprocessing experiment 2014-10-04 20:55:03 -07:00
highlights 125 2014-10-10 15:58:49 -07:00
mu.arc 133 - handle missing args without error 2014-10-12 10:17:46 -07:00
mu.arc.t 133 - handle missing args without error 2014-10-12 10:17:46 -07:00
x.mu 91 - just implement ops natively to maintain momentum 2014-08-31 11:26:07 -07:00

Readme

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