<?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/5c106d66a5823f396ec6450200059ac4"
  from="Alain.Frisch@e..."
  author="Alain.Frisch@e..."
  date="2003-10-04T15:10:50"
  subject="Re: [Caml-list] Camlp4 integration"
  prev="2003/10/cb681907973924bfeed2e99c6b60f6a2"
  next="2003/10/e5e262772b24d268055aba0fb4b1a356"
  prev-in-thread="2003/10/f2344ccdc2f556b7082a948ffbae3d59"
  next-in-thread="2003/10/b8610f358d2f5ccce4bd3f44bf1988b2"
  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>
On 4 Oct 2003, skaller wrote:

&gt; Just some notes on camlp4. One problem I have noticed
&gt; is that camlp4'd codes don't work so well with other
&gt; tools such as ocamldep and ocamldoc. Both these programs
&gt; parse Ocaml but can't load camlp4 to do the job.
&gt; [I think you have to use pr_o.cmo to print a standard
&gt; Ocaml file to use them?]

Both ocamldep and ocamldoc accept the -pp argument. Sometimes, it would be
more convenient to specify the syntax extensions directly in the Caml
sources. I think that OCamlMakefile has some support for that.

Note that ocamlcp/ocamlprof don't support the -pp argument, however, and
to use the bytecode profiler, you'll indeed have to pretty print...

-- Alain

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

