3 ms·
Python has really nice lexer and parser libraries. It isn’t Haskell or ML but it works. It is slow as expected.
by baq 4y ago
Python has really nice lexer and parser libraries. It isn’t Haskell or ML but it works. It is slow as expected.
- Yoric 4y agoLexing and parsing aren't the scary part. I'm much more nervous about maintaining invariants as you implement compilation passes, especially in the absence of powerful pattern-matching.