Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jparsec/jparsec
Build parsers in Java
https://github.com/jparsec/jparsec
Last synced: 3 months ago
JSON representation
Build parsers in Java
- Host: GitHub
- URL: https://github.com/jparsec/jparsec
- Owner: jparsec
- License: apache-2.0
- Created: 2013-02-01T14:14:50.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T12:53:45.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T08:04:46.923Z (10 months ago)
- Language: Java
- Homepage:
- Size: 5.12 MB
- Stars: 335
- Watchers: 27
- Forks: 56
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-combinator-parsers - jparsec
README
jparsec
=======Builds mini parsers in pure Java.
![](https://travis-ci.org/jparsec/jparsec.svg?branch=master)
**Latest version**: 3.0 (requires Java 8+)
# News
## 2016-12-05
* Removed references to Codehaus in copyright **and** package layout
* Support for Java 8 now complete
* Support for OSGi is merged in master, thanks to [Alex Michael Berry](https://github.com/almibe) and [this PR](https://github.com/jparsec/jparsec/pull/47)## How to Use?
jparsec is available in maven-central. [Snapshot Javadoc](http://jparsec.github.io/jparsec/apidocs/)
## Maven
Add the following fragment to your `` section:
If using Java 7-:
org.jparsec
jparsec
2.3
If using Java 8+:
org.jparsec
jparsec
3.1
## Tell me more
Jparsec is a recursive-descent parser combinator framework written for Java.
It's an implementation of [Haskell Parsec](http://www.haskell.org/haskellwiki/Parsec) on the Java platform.## Feature highlights
* Operator precedence grammar,
* Accurate error location and customizable error message,
* Rich set of pre-defined reusable combinator functions,
* Declarative API that resembles BNF.## Documentation
Look at the [wiki](https://github.com/jparsec/jparsec/wiki) for documentation on implementing parsers with jparsec.
# Talking about jparsec
* 2014-01-16 - [Nantes JUG](http://nantesjug.org/#/events/2014_01_20):
Quickie on jparsec for local JUG
* 2013-09-23 - [JUGSummerCamp 2013](http://www.jugsummercamp.com/edition/4): Directory `parsing-made-easy` contains material for the talk (slides + sample code)