mu/archive/0.vm.arc/Readme.md

22 lines
577 B
Markdown
Raw Permalink Normal View History

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:
2018-02-03 08:45:36 +00:00
```shell
2019-07-27 23:01:55 +00:00
$ cd mu/archives/1.vm
$ git clone http://github.com/arclanguage/anarki
2018-02-03 08:54:50 +00:00
$ cd anarki
$ git checkout d7290130a7 # last compatible snapshot
$ cd ..
$ ./mu test mu.arc.t # run tests
2018-02-03 08:45:36 +00:00
```
Example programs:
2018-02-03 08:45:36 +00:00
```shell
$ ./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
```