Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

vincenthz/language-java

Repository files navigation

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"