Parboiled (Java)
{{Short description|Open-source Java library}}
{{Infobox software
| name = parboiled Library
| logo =
| screenshot =
| caption =
| developer = Mathias Doenitz
| released = {{start date and age|2009|11|12}}
| operating system = Cross-platform
| programming language = Java
| license = Apache License 2.0
| website = {{URL|parboiled.org}}
| latest release version = 1.4.1
| latest release date = {{Start date and age|2022|03|11}}{{cite web | url=https://raw.githubusercontent.com/sirthias/parboiled/master/CHANGELOG | title=Changelog | website=Parboiled | date=Mar 11, 2022 | access-date=Oct 20, 2024}}
}}
parboiled is an open-source Java library released under an Apache License. It provides support for defining PEG parsers directly in Java source code.{{Cite book |last=Kumar |first=Jayant |title=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 |publisher=Packt Publishing |year=2015 |isbn=9781783981854 |pages=69}}{{Cite book |last=Darwin |first=Ian F. |title=Java Cookbook: Solutions and Examples for Java Developers |publisher=O'Reilly |year=2014 |isbn=9781449338824 |edition=3rd |pages=317}}
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.{{Portal|Free and open-source software}}
References
{{reflist}}
External links
- [https://github.com/sirthias/parboiled/wiki/parboiled-for-Java Official parboiled web site]
- [https://github.com/sirthias/parboiled/blob/master/examples-java/src/main/java/org/parboiled/examples/java/JavaParser.java Example of a complete Java 6 parser written with parboiled]
Category:Java (programming language) libraries
Category:Free computer programming tools
{{compu-library-stub}}