2015-05-06 04:17:24 +00:00
|
|
|
Original prototype, last modified 2015-03-14
|
|
|
|
|
2018-02-03 08:54:50 +00:00
|
|
|
First install [Racket](http://racket-lang.org) (just for this prototype;
|
|
|
|
last tested with v6.3). Then:
|
2015-05-06 04:17:24 +00:00
|
|
|
|
2018-02-03 08:45:36 +00:00
|
|
|
```shell
|
2019-07-27 23:01:55 +00:00
|
|
|
$ cd mu/archives/1.vm
|
2015-05-06 04:17:24 +00:00
|
|
|
$ git clone http://github.com/arclanguage/anarki
|
2018-02-03 08:54:50 +00:00
|
|
|
$ cd anarki
|
|
|
|
$ git checkout d7290130a7 # last compatible snapshot
|
|
|
|
$ cd ..
|
2015-05-06 04:17:24 +00:00
|
|
|
$ ./mu test mu.arc.t # run tests
|
2018-02-03 08:45:36 +00:00
|
|
|
```
|
2015-05-06 04:17:24 +00:00
|
|
|
|
|
|
|
Example programs:
|
|
|
|
|
2018-02-03 08:45:36 +00:00
|
|
|
```shell
|
2015-05-06 04:17:24 +00:00
|
|
|
$ ./mu factorial.mu # computes factorial of 5
|
|
|
|
$ ./mu fork.mu # two threads print '33' and '34' forever
|
|
|
|
$ ./mu channel.mu # two threads in a producer/consumer relationship
|
2018-02-03 08:45:36 +00:00
|
|
|
```
|