News for hackers. Stuff that matters.
Re:Plan to throw one away by eru on Monday December 14, 2015 @10:34PM (#10735731)
In terms of ease of use, Parser Combinators beat most Parser Generators. (For absolute speed, Generators might still beat Combinators.)
Re:Plan to throw one away by jhallenworld on Monday December 14, 2015 @10:44PM (#10735778)
Yeah, 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
Re:Plan to throw one away by eru on Tuesday December 15, 2015 @01:11AM (#10736243)
I learned Parser Combinators on Haskell. But a basic version is easy to write yourself in any language that supports first class functions.