Remix.run Logo
angusturner 8 hours ago

why read that, vs an actually well-written compiler though?

lateforwork 7 hours ago | parent [-]

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.