The title pretty much sums it up. I have a homemade CPU with my assembly language called scratchy that I'd like to write code for more effectively, but I imagine there MUST be a smart place to start.
As well as LLVM, as suggested in a comment by @SK-logic, you might want to look at the portable C compiler (pcc
), which is possibly simpler to write a backend for.
Good luck!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With