Java parser and printer for haskell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.markdown

language-java

Build Status BSD Haskell

Haskell parser and pretty printer for the java language.

How to use

Simple compilation unit parser:

parser compilationUnit "import java.util.*; public class MyClass {}"

or from a file:

ast <- parser compilationUnit `fmap` readFile "myClass.java"