Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
zvmaz
4y ago
0 comments
Save
Share
Excellent book indeed. Note that Ball's interpreter uses Pratt parsing, which doesn't require you to delve into the theory of formal languages.
0 comments
1 comments · 1 top-level
top
newest
oldest
shadowofneptune
4y ago
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.
j
/
k
navigate · click thread line to collapse