<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/94da893a26988f2c2ceff426e78c73d9"
  from="Eric C. Cooper &lt;ecc@c...&gt;"
  author="Eric C. Cooper"
  date="2003-11-20T14:08:17"
  subject="Re: [Caml-list] Any Java parser written in OCaml?"
  prev="2003/11/94ca042f44be533f27f5a8b42b4b788f"
  next="2003/11/41b7013f566a30eb640361b86fe8d780"
  prev-in-thread="2003/11/a2140a10ae8f0fe8f4ff398f0fbd2ddc"
  prev-thread="2003/11/fb9d232a4943e8114fb8232e3f6e0533"
  next-thread="2003/11/7e7da260aa46285715d49921794fa6a1"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Any Java parser written in OCaml?">
<msg 
  url="2003/11/a2140a10ae8f0fe8f4ff398f0fbd2ddc"
  from="Peng Li &lt;lipeng@a...&gt;"
  author="Peng Li"
  date="2003-11-20T01:53:46"
  subject="[Caml-list] Any Java parser written in OCaml?">
<msg 
  url="2003/11/94da893a26988f2c2ceff426e78c73d9"
  from="Eric C. Cooper &lt;ecc@c...&gt;"
  author="Eric C. Cooper"
  date="2003-11-20T14:08:17"
  subject="Re: [Caml-list] Any Java parser written in OCaml?">
</msg>
</msg>
</thread>

<contents>
On Wed, Nov 19, 2003 at 08:53:43PM -0500, Peng Li wrote:
&gt; I am trying to do something with standard Java programs.  All I need
&gt; is to parse Java programs, do some transformation with the AST, and
&gt; pretty print it.
&gt; 
&gt; I am tempted to use OCaml, but there would be too much overhead if I
&gt; write everything from scratch.  Is there any publicly available OCaml
&gt; 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

</contents>

</message>

