Soul of a tiny new machine. More thorough tests → More comprehensible and rewrite-friendly software → More resilient society.
Go to file
Kartik K. Agaram b90a10d265 9 - shuffle operand type tag to after operand value
This organization should permit multiple metadata tags beyond just type.
Starting to feel some pain from code not being DRY.
Issues that took debugging: a poor search-and-replace, and shuffling offset in convert-braces.
2014-07-31 01:47:32 -07:00
Readme 30 2014-07-18 19:08:38 -07:00
mu.arc 9 - shuffle operand type tag to after operand value 2014-07-31 01:47:32 -07:00
mu.arc.t 9 - shuffle operand type tag to after operand value 2014-07-31 01:47:32 -07:00
new.mu 5 - first stab at allocator, just for ints 2014-07-26 12:48:54 -07:00
x.mu 2 - compound functions 2014-07-06 01:54:09 -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 <- 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
  # location 3 contains the sum of locations 1 and 2

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