Hacker News new | ask | show | jobs
by lateforwork 65 days ago
Because an actual compiler would be tens of thousands of lines and most of it is going to be perf optimization. If you want to get the big picture first, read a simple working compiler that has all the key parts, such as a lexer, abstract syntax tree, parser, code generator and so on.
1 comments

Is it less work than finding a human authored toy compiler of good quality. How long did it take to generate?