-
Notifications
You must be signed in to change notification settings - Fork 156
Installation
Casey Mulcahy edited this page Dec 12, 2022
·
11 revisions
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).
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.4.1</version>
</dependency>
parboiled for Scala only depends on parboiled-core
.
For SBT the respective snippets look like this:
libraryDependencies += "org.parboiled" %% "parboiled-scala" % "1.4.1"
Note that Scala 3 is not supported as of this writing.
- Introduction
- ... Motivation
- ... Features
- ... Simple Java Example
- ... Simple Scala Example
- ... RegEx vs. parboiled vs. Parser Generators
- ... Projects using parboiled
- Installation
- Concepts
- ... The Big Picture
- ... The Rule Tree
- ... The Value Stack
- ... The Parse Tree
- ... AST Construction
- ... Parse Error Handling
- parboiled for Java
- ... Rule Construction in Java
- ... Parser Action Expressions
- ... Working with the Value Stack
- ... Action Variables
- ... Parser Extension in Detail
- ... Style Guide
- ... Java Examples
- ...... ABC Grammar
- ...... Calculators
- ...... Time Parser
- ...... Java Parser
- ...... Markdown processor
- parboiled for Scala
- ... Rule Construction in Scala
- ... Parser Actions in Scala
- ... Parser Testing in Scala
- ... Scala Examples
- ...... Simple Calculator
- ...... JSON Parser
- Advanced Topics
- ... Handling Whitespace
- ... Parsing Performance Tuning
- ... Indentation Based Grammars
- ... The ProfilingParseRunner
- ... Grammar and Parser Debugging
- ... Thread Safety
- Building parboiled
- parboiled-core Javadoc API
- parboiled-java Javadoc API
- parboiled-scala Scaladoc API
- Change Log
- Patch Policy