Installation

Mathias edited this page Jan 11, 2017 · 8 revisions
Clone this wiki locally

The parboiled distribution is split into three artifacts:

  • parboiled-core: The basic parsing engine
  • parboiled-java: The Java DSL and supporting parser extension code
  • parboiled-scala: The Scala DSL

All parboiled artifacts are available from maven central (after having been synced up from sonatype releases).

parboiled-java

Apart from parboiled-core parboiled for Java only depends on:

  • asm-5.2.jar
  • asm-analysis-5.2.jar
  • asm-tree-5.2.jar
  • asm-util-5.2.jar

If you want to keep things simple you can also supply the ASM dependency with just the asm-all-5.2.jar.

For maven the respective snippet would look like this:

<dependency>
  <groupId>org.parboiled</groupId>
  <artifactId>parboiled-java</artifactId>
  <version>1.1.8</version>
</dependency>

parboiled-scala

parboiled for Scala only depends on parboiled-core. For SBT the respective snippets look like this:

libraryDependencies += "org.parboiled" %% "parboiled-scala" % "1.1.8"