3 ms·
You might enjoy https://hokstad.com/compiler https://hokstad.com/compiler . I could never get on with the traditional top-down presentation of building a compil
by lmm 3y ago
You might enjoy https://hokstad.com/compiler https://hokstad.com/compiler . I could never get on with the traditional top-down presentation of building a compiler where you start with this idea that you're going to build a parser and a lexer and all that. Seeing someone build a compiler the same way you'd build a regular program - start from the simple cases and expand out to cover what you need to - was a real revelation. In practice it's ended up with something pretty similar to the standard architecture, but now I can understand why.