Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
skydhash
1y ago
0 comments
Share
Isn't that what tools like antlr [0], bison[1] do?
[0]:
https://www.antlr.org/
[1]:
https://www.gnu.org/software/bison/
0 comments
default
newest
oldest
jdlshore
1y ago
They typically generate generic LALR parsers, not custom recursive descent parsers. I'm no expert, but my understanding is that custom recursive descent parsers have advantages in terms of readability and error message generation.
j
/
k
navigate · click thread line to collapse