Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 756 Bytes

README.md

File metadata and controls

31 lines (20 loc) · 756 Bytes

Sapphire

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.3
  • alex: version 3.1.2
  • happy: version 1.19.4

You can just install Haskell Platform


Compiling a Sapphire program

On the repository's root run the following commands:

  1. cabal install
  2. using the compiler:
    • sapphire: write a program directly on the command line, until ctrl-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.