3 ms·
> In my experience avoiding unlimited recursion/stackoverflows is one of the most annoying parts of writing a parser This, x10. My take is that this is perhap
by geezerjay 9y ago
> In my experience avoiding unlimited recursion/stackoverflows is one of the most annoying parts of writing a parser
This, x10.
My take is that this is perhaps the main reason why everyone tends to rely on hand-written parsers instead of simply using code churned out by a parser generator. Parser generators are developed with a single use case in mind: pick up a grammar definition, perhaps with pre and post-conditions, and proceed to map it to some programming language. Yet, this fails very basic requirements for real world parser applications.