Re:Crafting Interpreters: A Review
by zvmaz on Wednesday June 22, 2022 @01:29PM
(#31839076)
Excellent book indeed. Note that Ball's interpreter uses Pratt parsing, which doesn't require you to delve into the theory of formal languages.
[ Parent
| on HN ]
Re:Crafting Interpreters: A Review
by shadowofneptune on Wednesday June 22, 2022 @08:27PM
(#31843657)
I've found Pratt parsing meshes rather well with formal grammars. Anything that is better described by an operator precedence table rather than BNF should be handled by the Pratt parser, rest can be done with recursive decent.