What is jparsec?
Jparsec is a recursive-desent parser combinator framework written for Java. It constructs parsers in native Java language only.
Why yet another parser framework?
Jparsec stands out for its combinator nature. It is no parser generator like YACC or ANTLR. No extra grammar file is required. Grammar is written in native Java /C# language, which also means you can utilize all the utilities in the Java/.Net community to get your parser fancy.
What does "jparsec" stand for?
Jparsec is an implementation of Haskell Parsec on the Java platform.
- operator precendence grammar.
- accurate error location and customizable error message.
- rich set of pre-defined reusable combinator functions.
- declarative API that resembles BNF.