Parsec parser for Java?
bringert at cs.chalmers.se
Mon Apr 10 04:26:37 EDT 2006
Punyashloka Biswal wrote:
> Hi Haskellers,
> I'm writing a program-analysis tool in Haskell to operate on Java
> source code, and I need a parser. Parsec provides javaStyle to
> help with lexical analysis, but I was wondering if there are any
> full-fledged Java parsers out there.
There is a BNFC  grammar for Java 1.1 . BNFC can generate a parser
in Haskell (along with lexer, abstract syntax and pretty printer) from
More information about the Libraries