Giter Club home page Giter Club logo

jparsec

Builds mini parsers in pure Java.

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 and this PR

How to Use?

jparsec is available in maven-central. Snapshot Javadoc

Maven

Add the following fragment to your <dependencies> section:

If using Java 7-:

  <dependency>
    <groupId>org.jparsec</groupId>
    <artifactId>jparsec</artifactId>
    <version>2.3</version>
  </dependency>

If using Java 8+:

  <dependency>
    <groupId>org.jparsec</groupId>
    <artifactId>jparsec</artifactId>
    <version>3.1</version>
  </dependency>

Tell me more

Jparsec is a recursive-descent parser combinator framework written for Java. It's an implementation of Haskell 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 for documentation on implementing parsers with jparsec.

Talking about jparsec

  • 2014-01-16 - Nantes JUG: Quickie on jparsec for local JUG
  • 2013-09-23 - JUGSummerCamp 2013: Directory parsing-made-easy contains material for the talk (slides + sample code)

jparsec's Projects

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.