This was simply an attempt at creating the base of a simple language. Currently it has bugs, even known bugs (hence the failing tests) and I am not planning on fixing them. This was meant to be an experiment and not more than that.
-
Install GHC and Stack on your system (with https://www.haskell.org/ghcup/)
-
Run
stack install
to install it under to~/.local/bin
-
The executable is called
foo-lang-exe
by default.
foo-lang-exe <file>
For example foo-lang-exe ./examples/fib2.foo