Timeline for When to use a Parser Combinator? When to use a Parser Generator?
Current License: CC BY-SA 3.0
6 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 7, 2022 at 17:16 | comment | added | Mason Wheeler | Remember, folks, conflating conclusions with biases says more about you than it does about the person who did the research and reached the conclusion. | |
Oct 7, 2022 at 16:52 | comment | added | Rob Marrowstone | This answer is nothing more than appealing to the authority of someone who is clearly biased. | |
Feb 10, 2020 at 14:27 | comment | added | Good Night Nerd Pride | that's exactly my point! Parser generators are being used "all over the place" when they shouldn't (one exemplary exception being a "fully fledged programming language + IDE"). I claim that parser combinators are quite sufficient 90% of the time when some kind of parser is needed. Yet people waste time and energy with parser generators. | |
Feb 10, 2020 at 13:28 | comment | added | Mason Wheeler | @GoodNightNerdPride "How often did you ever code something like this?" Quite frequently, in fact. ANTLR pops up all over the place for parsing custom formats that are "simpler things than a fully fledged programming language." | |
Feb 9, 2020 at 10:00 | comment | added | Good Night Nerd Pride | Parsers are often needed for much simpler things than a fully fledged programming language + IDE. How often did you ever code something like this? Once? Never? 90% of the time one just has to parse that weird custom file format your company's system is supposed to import from a client. That's were parser combinators shine: when the task is too simple to justify the immense overhead of parser generators, but writing a recursive-decent parser by hand is too annoying. | |
Dec 25, 2016 at 3:17 | history | answered | Mason Wheeler | CC BY-SA 3.0 |