Fez is an early doors experiment in compiling fsharp to BEAM compatible core erlang.
The primary aim is to implement enough of the language to evaluate what how well an ML type of language could become a practical language for writing code to be run on the beam.
Should this experiment succeed then it may lead to a fuller and usable fsharp backend.
See thoughts.md for some discussions on potential implementation approaches.
./build.sh [on Linux/Mac]
./build.cmd [on Windows]
after this you can:
./fezc <file.fs> <file2.fs> -o out [on Linux/Mac]
./fezc.cmd <file.fs> <file2.fs> -o out [on Windows]
to try to compile fsharp modules to the beam.
You can use the --nobeam
parameter if you only want to compile as core erlang files.
To run the tests:
./run-tests.sh
Try it! Read thoughts.md and raise issues with the smallest possible repro program bearing in mind that the current status is little more than a proof of concept and soooooooo many fundamental parts are not yet implemented.
Code is also welcome of course.