News for hackers. Stuff that matters.
Re:Combinator Parsing by hugofirth on Monday May 05, 2014 @09:57AM (#7698563)
Even though they have performance issues - I still love Scala's parser combinator libraries. I hadn't really dealt much with parsing prior to my use of them, and they made the process of parsing seem a lot more obvious and less "mystical" .
Re:Combinator Parsing by platz on Monday May 05, 2014 @11:08AM (#7698959)
I saw there was a port of attoparsec recently, but it still has to use trampolines.

Do you know of any benchmarks of different parsers, especially combinator libraries?

Re:Combinator Parsing by stephenjudkins on Monday May 05, 2014 @01:40PM (#7699925)
parboiled2 [https://github.com/sirthias/parboiled2] offers pretty much everything the built-in parser combinators do, but with fewer bugs and vastly improved performance. Since both use PEG grammars, it should be straightforward to port over. parboiled2 is fast because it generates fast, stateful parsers using macros while only exposing a purely functional interface.