Caution
The compiler can't compile crawfish programs yet.
- Git clone the repository
git clone https://github.com/simontran7/crawfish.gitcdinto thecrawfish/directory, then build the project with GNU Make
cd crawfish/
make- Move the
build/crawfishcompiler binary to a desired location (e.g. in/Users/<your name>), then add it to yourPATHby adding the following line to your.bashrcfile
# in your .bashrc
export PATH=$PATH:<path to the crawfish compiler executable>- Language tour:
docs/tour-of-crawfish.md - Compiler design:
docs/compiler-design.md
