4 ms·
As strange as it looks, parser theory is not very relevant on practice for writing parsers. You just use some parser generator or a parser combinators library i
by marcosdumay 6y ago
As strange as it looks, parser theory is not very relevant on practice for writing parsers. You just use some parser generator or a parser combinators library if your language allows them, and you won't have many problems (except for maybe they being slow).
It is way more relevant for optimizing parsers performance and for designing languages syntax.
- vidarh 6y agoAnd when hand-writing parsers, it's fairly common to just use simple recursive descent and all it a day. Anyone can "invent" recursive descent with fairly little prodding about how to divide and conquer.