Open BookOwl opened 7 years ago
Compiling haumea programs to LLVM IR would allow us to directly generate executables with out having to mess with a C compiler. This crate looks like it would work for us.
https://github.com/Wilfred/bfc https://bitbucket.org/tari/merthc https://bitbucket.org/tari/llvm-sys.rs
A direct compiler would allow us to write a REPL, too :stuck_out_tongue_winking_eye:
@nanalan You could generate C, invoke gcc, and then run the executable, but that would probably be slow.
Compiling haumea programs to LLVM IR would allow us to directly generate executables with out having to mess with a C compiler. This crate looks like it would work for us.
https://github.com/Wilfred/bfc https://bitbucket.org/tari/merthc https://bitbucket.org/tari/llvm-sys.rs