-
Notifications
You must be signed in to change notification settings - Fork 11
Getting Started
Dan Connolly edited this page May 27, 2016
·
16 revisions
We provide a montelang images, repl
and monte-dev
, for use with docker.
$ docker run -it montelang/repl
▲> 1+1
Result: 2
Once you get nix, you can subscribe to the typhon-latest channel and install monte
:
$ nix-channel --add http://selina.inze.house:3000/project/typhon/channel/latest
$ nix-channel --update
$ nix-env -i monte
$ nix-env -q
monte
Then you can start the REPL:
$ monte repl
...
▲> 1+1
Result: 2
Or run a script:
$ monte eval myscript.mt
$ nix-channel --update
$ nix-env -i monte
The move to libuv took the project beyond pure rpython into C/C++ dependencies, and nix provides an elegant way to manage the dependency.
Pick from the nix downloads and install, for example, nix_1.10-1_amd64.deb. Then, following the installation instructions:
$ sudo mkdir /nix
$ sudo chown $LOGNAME /nix
$ source /etc/profile.d/nix.sh