Re:Compiler basics: Lisp to Assembly
by amelius on Monday November 26, 2018 @06:01AM
(#18532463)
Ok, I get this is a DIY post, but wouldn't it make much more sense to use LLVM here? That way, you get low-level optimizations for free, and this allows you to focus on the rest of the language. You can always implement the code-generation part if you want to and have the time for it.
[ Parent
| on HN ]
I think you answered your own question with the last sentence.
You could learn more from targeting an intermediate language than from targeting a specific architecture, imho.