about summary refs log tree commit diff stats
path: root/Readme
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2014-07-18 19:08:38 -0700
committerKartik K. Agaram <vc@akkartik.com>2014-07-18 19:08:38 -0700
commit4e5cff3d4a8937952f0005ce897d6dea0dbffc0b (patch)
tree687ddc53acb2887f091fdf6f171c40d866b97dae /Readme
parentc82603cafb6b441453590af22ebdcdf2cedf8277 (diff)
downloadmu-4e5cff3d4a8937952f0005ce897d6dea0dbffc0b.tar.gz
30
Diffstat (limited to 'Readme')
-rw-r--r--Readme12
1 files changed, 11 insertions, 1 deletions
diff --git a/Readme b/Readme
index d84e9fde..f137ffbf 100644
--- a/Readme
+++ b/Readme
@@ -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