<?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="2006/02/581feba66dccc44b766e0be06af8e26f"
  from="yoann padioleau &lt;padator@w...&gt;"
  author="yoann padioleau"
  date="2006-02-09T19:32:40"
  subject="Re: [Caml-list] Namespace clash"
  prev="2006/02/02739d36d21a0cccaf2b0427a1769925"
  next="2006/02/778886ccf985c5e4118a759b4642a6fd"
  prev-thread="2006/02/02739d36d21a0cccaf2b0427a1769925"
  next-thread="2006/02/2ef66e17ed240db9efd786e9235fb123"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="Re: [Caml-list] Namespace clash">
<msg 
  url="2006/02/581feba66dccc44b766e0be06af8e26f"
  from="yoann padioleau &lt;padator@w...&gt;"
  author="yoann padioleau"
  date="2006-02-09T19:32:40"
  subject="Re: [Caml-list] Namespace clash">
</msg>
</thread>

<contents>
&gt; &gt; I had not thought about this... Actually, it is not a bad idea, at  
&gt; &gt; least, in my build system. Ideally, the build system would have to  
&gt; &gt; have a way of mangling the library namespace by packaging up  
&gt; &gt; findlib-managed libraries in a single package. Then, it would have  
&gt; &gt; to isse the desired -open directives to an ad-hoc camlp4 syntax  
&gt; &gt; extension. It's a bit of a hack, but it could work. I wonder if it  
&gt; &gt; is general enough a solution to become mainstream, though.
&gt; 
&gt; It doesn't have to be a camlp4 extension, you could implement Alain's  
&gt; trick
&gt; with a preprocessor written in Bourne shell.  But it doesn't work  
&gt; when the
&gt; program is already compiled with -pp, since the OCaml compiler doesn't
&gt; allow for a pipeline of preprocessors.

You still can invent a script foo that successfully call your first bourne shell script bar and then
call camlp4.
Then you just pass -pp foo    to ocaml.

Did I overlook something ? 

&gt; 
&gt; -- Damien
&gt; 
&gt; _______________________________________________
&gt; Caml-list mailing list. Subscription management:
&gt; http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list
&gt; Archives: http://caml.inria.fr
&gt; Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
&gt; Bug reports: http://caml.inria.fr/bin/caml-bugs
&gt; 
&gt; 

</contents>

</message>

