Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] Any Java parser written in OCaml?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-11-20 (14:08)
From: Eric C. Cooper <ecc@c...>
Subject: Re: [Caml-list] Any Java parser written in OCaml?
On Wed, Nov 19, 2003 at 08:53:43PM -0500, Peng Li wrote:
> I am trying to do something with standard Java programs.  All I need
> is to parse Java programs, do some transformation with the AST, and
> pretty print it.
> I am tempted to use OCaml, but there would be too much overhead if I
> write everything from scratch.  Is there any publicly available OCaml
> code that I can use for parsing/pretty printing Java programs?

Here is a Java parser and pretty printer that I wrote in OCaml a
couple of years ago:

Eric C. Cooper          e c c @ c m u . e d u

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: