* [Caml-list] Any Java parser written in OCaml?
@ 2003-11-20 1:53 Peng Li
2003-11-20 14:08 ` Eric C. Cooper
0 siblings, 1 reply; 2+ messages in thread
From: Peng Li @ 2003-11-20 1:53 UTC (permalink / raw)
To: caml-list
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?
Thanks a lot,
-- Peng
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Caml-list] Any Java parser written in OCaml?
2003-11-20 1:53 [Caml-list] Any Java parser written in OCaml? Peng Li
@ 2003-11-20 14:08 ` Eric C. Cooper
0 siblings, 0 replies; 2+ messages in thread
From: Eric C. Cooper @ 2003-11-20 14:08 UTC (permalink / raw)
To: caml-list
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:
http://www.cs.cmu.edu/~ecc/joust.tar.gz
--
Eric C. Cooper e c c @ c m u . e d u
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-20 14:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-20 1:53 [Caml-list] Any Java parser written in OCaml? Peng Li
2003-11-20 14:08 ` Eric C. Cooper
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox