parboiled is an open-source Java library released under an Apache License. It provides support for defining PEG parsers directly in Java source code.[2][3]

parboiled Library
Developer(s)Mathias Doenitz
Initial releaseNovember 12, 2009; 15 years ago (2009-11-12)
Stable release
1.4.1 / March 11, 2022; 2 years ago (2022-03-11)[1]
Repository
Written inJava
Operating systemCross-platform
LicenseApache License 2.0
Websiteparboiled.org

parboiled is commonly used as an alternative for regular expressions or parser generators (like ANTLR or JavaCC), especially for smaller and medium-size applications.

Apart from providing the constructs for grammar definition parboiled implements a complete recursive descent parser with support for abstract syntax tree construction, parse error reporting and parse error recovery.

References

edit
  1. ^ "Changelog". Parboiled. Mar 11, 2022. Retrieved Oct 20, 2024.
  2. ^ Kumar, Jayant (2015). Apache Solr Search Patterns: Leverage the Power of Apache Solr to Power Up Your Business by Navigating Your Users to Their Data Quickly and Efficiently. Packt Publishing. p. 69. ISBN 9781783981854.
  3. ^ Darwin, Ian F. (2014). Java Cookbook: Solutions and Examples for Java Developers (3rd ed.). O'Reilly. p. 317. ISBN 9781449338824.
edit