Step-by-step installation of the bonsai compiler and its runtime. Before attempting the manual installation, you should try the setup.py
script as described in README.md.
See README.md
rustup override set nightly-2018-04-18
cargo install
You can verify everything is working by running bonsai --help
in your terminal.
The standard library provides several modules to ease the development of Bonsai application.
cd libstd # (inside the bonsai repository)
./install.sh
The Bonsai runtime has two dependencies: SugarCubes for synchronous and reactive programming and Choco for constraint programming.
- Installing SugarCubes in the local Maven database:
curl http://jeanferdysusini.free.fr/v4.0/SugarCubesv4.0.0a5.jar > /tmp/SugarCubesv4.0.0a5.jar
mvn install:install-file -DgroupId=inria.meije.rc -DartifactId=SugarCubes -Dversion=4.0.0a5 -Dpackaging=jar -Dfile=/tmp/SugarCubesv4.0.0a5.jar
- Installing Bonsai runtime in the local Maven database:
cd runtime/ # (inside the bonsai repository)
./install.sh