Compiling C-Type Grammar for Custom Assembly

The title pretty much sums it up. I have a home-made processor with my assembler language called scratchy, which I would like to write code for more efficient use, but I think that SHOULD be a smart place to start.

+6
source share
1 answer

Like LLVM , as suggested in a comment from @ SK-logic, you can look at the portable C ( pcc ) compiler , which might be easier to write a backend for.

Good luck

+3
source

Source: https://habr.com/ru/post/945548/


All Articles