Search code examples
parsingscalaparser-generatorparser-combinators

Scala Parsers: Availability, Differences and Combining?


My question is about the Scala Parsers:

  • Which ones are available (in the Standard library and outside),
  • what's the difference between them,
  • do they share a common API and
  • can different Parsers be combined to parse one input string?

I found at least these:


Solution

  • Just wanted to update this answer with a pointer to the latest iteration of the parboiled project, called parboiled2:

    https://github.com/sirthias/parboiled2

    parboiled2 targets only Scala (as opposed to Scala + Java), makes use of Scala macros, and is very actively maintained.