4 ms·
In terms of ease of use, Parser Combinators beat most Parser Generators. (For absolute speed, Generators might still beat Combinators.)
by eru 11y ago
In terms of ease of use, Parser Combinators beat most Parser Generators. (For absolute speed, Generators might still beat Combinators.)
- jhallenworld 11y agoYeah, I should try them. I remember a previous discussion about the old language SNOBOL having parser combinators as a built-in feature: https://news.ycombinator.com/item?id=10103460 https://news.ycombinator.com/item?id=10103460
- eru 11y agoI learned Parser Combinators on Haskell. But a basic version is easy to write yourself in any language that supports first class functions.