tl;dr it’s what C++ should have been change my mind
fjfaase•6mo ago
How far are you from self hosting it? Assuming that that is a goal? (I am currently working on a small, probably incomplete, C compiler.)
Edit: spelling
kvthweatt•6mo ago
It’s getting very close. I’m currently implementing the reduced specification to get the base language. After that, depending on how much help I get, I may implement more before bootstrapping.
Not gonna lie tho I don’t know shit about compiler theory but seeing how LLVM works I think I can do it.
kvthweatt•6mo ago
As of a few hours ago, all LLVM codegen methods have been implemented for the base language!
There are still issues here and there, namely with parsing.
Anyone can begin writing Flux programs and compile them.
kvthweatt•6mo ago
Spoke too early, wrote a tool to check what codegen methods were present and it lied to me.
kvthweatt•6mo ago