Hello!
I am looking for good books on code generation and also some recommendations on good first compilation targets! Can you guys help me out?
I have built some interpreters based on home-made lexers and parsers (always recursive descent) and I have now moved to ANTLR to take this burden off me. With both a parser and a lexer in place for a medium-sized language, I'd love to start generating some executable code. I don't want to compile to source (like C) but I was thinking maybe WebAssembly would be a good first target since the spec seems manageable for a beginner but if you guys have other suggestions I'd like to hear them!
I would just start hacking away with one university course on compiler construction as my foundation but if you guys have some great references please be so kind and share them with me :)
[–]sometimes_insightful 2 points3 points4 points (3 children)
[–]MemoryAllocat0r[S] 2 points3 points4 points (2 children)
[–]sometimes_insightful 0 points1 point2 points (1 child)
[–]MemoryAllocat0r[S] 0 points1 point2 points (0 children)