1. Install python, perl, make and the samurai build tool
2. Install the dependencies with
apt-get install libc6-dev libjpeg62-dev libncurses5-dev libpng-dev libtiff4-dev libungif4-dev xaw3dg-dev zlib1g-dev libice-dev libsm-dev libx11-dev libxext-dev libxi-dev libxmu-dev libxmuu-dev libxpm-dev libxrandr-dev libxt-dev libxtrap-dev libxtst-dev libxv-dev x-dev xlibs-static-dev.
3. Run
python -m 'cool_samurai --ani --gnu-make' to setup the project4. Install the incremental builder with
apt brew install the_incrementor5. Setup the incremental builder with
incrementor -fast -slow -p=<path_to_project> -experimental0 -nightly6. Register the incrementor by running
python -m 'cool_samurai --register-incrementor .' 7. Install the compiler caching tool with
brew install xccache8. Configure $HOME/.config/xccache/xccache.conf to your liking. (Don't forgot to configure the path to the wrapper!)
9. Run
python -m 'cool_samurai --generate --with-cache=xccache' to generate the tourania executable which contains the Symta interpreter and core libraries.
10. Build the bytecode needed to run ourania. This could be done with the command
tourania -l glowup but would just load the default
glowup.s . Most of the time
tourania -batch -l glowup dump is run by a script because generating the bytecode takes some time (See fast_ourania for an example). The dumped
ourania executable is the one you want.
11. Install ldbook with
brew install ldbook and build the documentation with
ldbook build book. You can access the documentation on
http://localhost:3000 or directly through ourania. For more information see the ldbook project.
12. Add the ourania demon to your .bashrc with
eval "$(ourania init bash)"13. And now you are ready to use the
ourania