Builds mini parsers in pure Java.
Latest version: 3.0 (requires Java 8+)
jparsec is available in maven-central. Snapshot Javadoc
Add the following fragment to your <dependencies>
section:
If using Java 7-:
<dependency>
<groupId>org.jparsec</groupId>
<artifactId>jparsec</artifactId>
<version>2.3</version>
</dependency>
If using Java 8+:
<dependency>
<groupId>org.jparsec</groupId>
<artifactId>jparsec</artifactId>
<version>3.0</version>
</dependency>
Jparsec is a recursive-descent parser combinator framework written for Java. It’s an implementation of Haskell Parsec on the Java platform.
Look at the wiki for documentation on implementing parsers with jparsec.
parsing-made-easy
contains material for the talk (slides + sample code)