
MicroHs, a tiny Haskell Compiler https://lobste.rs/s/ak9mmk #video #compilers #haskell
https://www.youtube.com/watch?v=SJwvPEq4Mok
MicroHs, a tiny Haskell Compiler https://lobste.rs/s/ak9mmk #video #compilers #haskell
https://www.youtube.com/watch?v=SJwvPEq4Mok
For my next #compiler project, I want to write the optimization passes myself, but I don't want to deal with generating machine code for multiple platforms. So tell me #programminglanguages #plt #pldev #compilers fedi, what is an IR that I can target that has a non-optimizing compiler to machine code and supports multiple platforms? This rules out most popular IR like LLVM, C, QBE, Cranelift etc.
In short, I want something that does only instruction selection, register allocation and codegen for multiple platforms. I don't need optimization, so I expect this thing to be really small and lightweight, unlike LLVM, GCC etc.
A space for Bonfire maintainers and contributors to communicate