You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Scripts to create lambdacube development environment as a Docker image.
The created docker image serves two purposes, the first is to help
newcomers to start as early as possible, the second is to speed up
the travis build.
Development with docker
The lambdacube development environment is packed as a docker image to facilitate
the first steps of a new developer as everything related to the project is packed
in this repo/image.
./dev.sh /path/to/lambdacube-compiler /path/to/lambdacube-ir
The docker image has two optional volumes one is to the compiler and
the other is to the ir, which is mainly a technical thing.
This command will open a bash terminal on the docker image. You can
use the installed ghc toolset to build and test the lambdacube compiler.
Go to /root/source/lambdacube-compiler/src in the docker terminal
Hack on the desired functionality outside the docker terminal.
Run the test suite within the docker terminal like ./run-test-suite.sh
When you are done create a pull request
Howto bump lambdacube-compiler + lambdacube-ir submodules in this repo
git pull in this repo
git submodule update
(cd lambdacube-compiler; git pull)
git commit
git push
Development without docker
It is not mandatory to use the docker image to develop lambdacube3d-compiler.
In that case, the user has to install GHC and all related machinery to compile
the lambdacube3d compiler. The regular GHC and Cabal installation process is
enough to install the lambdacube-compiler and lambdacube-ir
About
Docker scripts to create lambdacube development environment