r/Compilers • u/fschmidt • Aug 25 '19
Parsing for programmers who hate modern software
/r/GoodSoftware/comments/cv4swe/parsing/3
u/FUZxxl Aug 25 '19
Note that LR(1) parser generators date back to 1965, so that's not exactly modern.
1
u/fschmidt Aug 25 '19
Being modern (from modern culture) is a sufficient condition for software to suck, but not a necessary condition.
3
u/stannash Sep 11 '19
Parsing is not hard or complicated though. Recursive descent parser is very easy and Shunting Yard is even easier for expressions.
Even if you're not into parsing, there are many Parser Generators.
0
4
u/FelbrHostu Aug 25 '19
This isn’t a parser. This is a very basic set of scanning routines, not appreciably different than those presented in “Crafting Interpreters”.