Programming Language developed by Matteo Ferrando and Germán León
The language design is currently on development, it's in spanish, though.
Tools:
ghc
: version 7.8.3alex
: version 3.1.2happy
: version 1.19.4
You can just install Haskell Platform
Compiling a Sapphire program
On the repository's root run the following commands:
- cabal install
- using the compiler:
sapphire
: write a program directly on the command line, untilctrl-D
is pressed.sapphire examples/<file>.sp
: compiles a program written in the given file.sapphire --help
: displays a help menu.
Tips:
- Use cabal sandbox for better isolation of the execution environment.