A toy language based on LLVM that implements the System Fω type-system
OCaml
114
927 commits
updated Aug 14, 2023
Labrys is a toy language based on LLVM that implements the System Fω type-system.
cc is used by default$ opam pin add labrys .
Examples of the syntax or features can be seen in the examples directory
To compile an example you have to use the following command:
$ labrys build-program examples/Hello.sfw
Just replace Hello by the name of the module you want to compile (such as NativeFact or Fact)
Then you can execute the resulting program with:
$ ./a.out
To know more about the compiler options, use the --help argument like:
$ labrys --help
$ labrys build-program --help
Enjoy !
925 commits
2 commits
OCaml
97.8%
Perl
1.8%
A toy language based on LLVM that implements the System Fω type-system
OCaml
114
927 commits
updated Aug 14, 2023
Labrys is a toy language based on LLVM that implements the System Fω type-system.
cc is used by default$ opam pin add labrys .
Examples of the syntax or features can be seen in the examples directory
To compile an example you have to use the following command:
$ labrys build-program examples/Hello.sfw
Just replace Hello by the name of the module you want to compile (such as NativeFact or Fact)
Then you can execute the resulting program with:
$ ./a.out
To know more about the compiler options, use the --help argument like:
$ labrys --help
$ labrys build-program --help
Enjoy !
925 commits
2 commits
OCaml
97.8%
Perl
1.8%