A programming language implemented in Haskell.
Install haskell stack: https://docs.haskellstack.org/en/stable
$ cd Lane
$ stack build
Now you can run the tests:
$ stack test
Or you can install your own binary:
$ stack install
$ ./lane run ./examples/hello.lane
You will see:
"Hello World"
See the output of each stage:
$ ./lane trace ./examples/hello.lane
You will see:
Lane profiling
===========================
Parsing program, output Raw AST:
def main : String = Hello World
---------------------------
Translating Raw AST to MT AST:
def main = Hello World
---------------------------
Type checking MT AST:
def main = Hello World
---------------------------
Evaluation, output final value:
Hello World
---------------------------
Done