ncellar / autumn4

A Java parser combinator library written with an unmatched feature set.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Please update your stars / forks.

Autumn

Autumn is a Java (8+) parser combinator library written with an unmatched feature set:

  • Bundles pre-defined parsers and combinators for most common use cases
  • Write your own parsers with regular Java code
  • Support for both scannerless parsing and a separate lexing/tokenization step
  • Support for parsing both text strings and lists of objects
  • Associativity support for operators
  • Left-recursion support
  • Context-sensitive parsing (exclusive !!)
  • Reasonably fast (5x slower than (the very fast) ANTLR)
  • Thoroughly documented
  • Small & clean codebase

Examples:

The latest version of this document is available online at
https://github.com/norswap/autumn4/blob/master/README.md

Installation

If you are using Maven (or another popular JVM build tool), see here.

About

A Java parser combinator library written with an unmatched feature set.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Java 100.0%