<?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/10/9642c3d2820f5f1c5544f75c65710088"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2003-10-06T08:45:30"
  subject="Re: [Caml-list] Camlp4 integration"
  prev="2003/10/fe01f456e9804b0aadcf1664b4eb356b"
  next="2003/10/23d6d1ff02a215a02bf66809a0277e69"
  prev-in-thread="2003/10/b8610f358d2f5ccce4bd3f44bf1988b2"
  next-in-thread="2003/10/6e23c026cd6f46b33e8960026081757d"
  prev-thread="2003/10/ab6c17091ef9c70705decdd6040150a8"
  next-thread="2003/10/cb681907973924bfeed2e99c6b60f6a2"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] ANNOUNCE: OCaml and XML (OX v0.1)">
<msg 
  url="2003/10/846a33a6daefde18729f8559949e7d10"
  from="didier plaindoux &lt;didier@f...&gt;"
  author="didier plaindoux"
  date="2003-10-03T17:07:58"
  subject="[Caml-list] ANNOUNCE: OCaml and XML (OX v0.1)">
<msg 
  url="2003/10/f2344ccdc2f556b7082a948ffbae3d59"
  from="skaller &lt;skaller@o...&gt;"
  author="skaller"
  date="2003-10-04T03:16:41"
  subject="[Caml-list] Camlp4 integration">
<msg 
  url="2003/10/5c106d66a5823f396ec6450200059ac4"
  from="Alain.Frisch@e..."
  author="Alain.Frisch@e..."
  date="2003-10-04T15:10:50"
  subject="Re: [Caml-list] Camlp4 integration">
<msg 
  url="2003/10/b8610f358d2f5ccce4bd3f44bf1988b2"
  from="skaller &lt;skaller@o...&gt;"
  author="skaller"
  date="2003-10-04T20:33:38"
  subject="Re: [Caml-list] Camlp4 integration">
<msg 
  url="2003/10/9642c3d2820f5f1c5544f75c65710088"
  from="Olivier Andrieu &lt;andrieu@i...&gt;"
  author="Olivier Andrieu"
  date="2003-10-06T08:45:30"
  subject="Re: [Caml-list] Camlp4 integration">
<msg 
  url="2003/10/6e23c026cd6f46b33e8960026081757d"
  from="Alain.Frisch@e..."
  author="Alain.Frisch@e..."
  date="2003-10-07T10:19:18"
  subject="Re: [Caml-list] Camlp4 integration">
</msg>
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
 skaller [ 5 October 2003] :
 &gt; On Sat, 2003-10-04 at 21:29, Alain.Frisch@ens.fr wrote:
 &gt; &gt; On 4 Oct 2003, skaller wrote:
 &gt; &gt; 
 &gt; &gt; &gt; Just some notes on camlp4. One problem I have noticed
 &gt; &gt; &gt; is that camlp4'd codes don't work so well with other
 &gt; &gt; &gt; tools such as ocamldep and ocamldoc. Both these programs
 &gt; &gt; &gt; parse Ocaml but can't load camlp4 to do the job.
 &gt; &gt; &gt; [I think you have to use pr_o.cmo to print a standard
 &gt; &gt; &gt; Ocaml file to use them?]
 &gt; &gt; 
 &gt; &gt; Both ocamldep and ocamldoc accept the -pp argument.
 &gt; 
 &gt; It isn't not documented?
 &gt; 
 &gt; &gt; Sometimes, it would be more convenient to specify the syntax
 &gt; &gt; extensions directly in the Caml sources.
 &gt; 
 &gt; Yes, i think that would be nice.

You can almost do this since camlp4 recognizes the #load directive in
.ml files. That way you only put `-pp camlp4o' on the command line and
the particular syntax extension is in the .ml file. It simplifies
Makefiles a lot.

-- 
   Olivier

-------------------
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>

