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

Latest commit

 

History

History
20 lines (12 loc) · 611 Bytes

README.markdown

File metadata and controls

20 lines (12 loc) · 611 Bytes

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"