<?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="2002/12/15bdb0556a0f38e6d8bcb6ef37e16991"
  from="Daniel de Rauglaudre &lt;daniel.de_rauglaudre@i...&gt;"
  author="Daniel de Rauglaudre"
  date="2002-12-10T19:21:05"
  subject="Re: [Caml-list] Camlp4 not work with ocamlc."
  prev="2002/12/2d52df0ad599c2398d444ee33eeed595"
  next="2002/12/a7df150482511ac2dc29aad949c1630c"
  prev-in-thread="2002/12/2d52df0ad599c2398d444ee33eeed595"
  prev-thread="2002/12/d1fe91a7143c27a0eff87d4d142f116e"
  next-thread="2002/12/9f060e61f00e207b4edf2064adf0c957"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Camlp4 not work with ocamlc.">
<msg 
  url="2002/12/f566cd61147cbd280839f2be813cce5a"
  from="Mike Potanin &lt;potanin@m...&gt;"
  author="Mike Potanin"
  date="2002-12-10T15:08:29"
  subject="[Caml-list] Camlp4 not work with ocamlc.">
<msg 
  url="2002/12/a74ed3db4fc33553d8213466da24214a"
  from="Daniel de Rauglaudre &lt;daniel.de_rauglaudre@i...&gt;"
  author="Daniel de Rauglaudre"
  date="2002-12-10T17:27:36"
  subject="Re: [Caml-list] Camlp4 not work with ocamlc.">
<msg 
  url="2002/12/2d52df0ad599c2398d444ee33eeed595"
  from="Mike Potanin &lt;potanin@m...&gt;"
  author="Mike Potanin"
  date="2002-12-10T18:34:41"
  subject="Re: [Caml-list] Camlp4 not work with ocamlc.">
<msg 
  url="2002/12/15bdb0556a0f38e6d8bcb6ef37e16991"
  from="Daniel de Rauglaudre &lt;daniel.de_rauglaudre@i...&gt;"
  author="Daniel de Rauglaudre"
  date="2002-12-10T19:21:05"
  subject="Re: [Caml-list] Camlp4 not work with ocamlc.">
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>
Hi,

On Tue, Dec 10, 2002 at 09:49:48PM +0300, Mike Potanin wrote:

&gt; I place complite example at http://wtk.ru/pm/fp/caml/tr.tgz bat currently
&gt; it "raw". I wont make "syntax sugar" - tr-command like Perl.
&gt; &lt;:tr&lt;a-z/A-Z&gt;&gt; "asdf" work from top, but can not comlile:
&gt; 
&gt; bash$ ocamlc -pp "camlp4o ./tr.cma" test.ml
&gt; Error while loading "./tr.cma": no implementation available for Tr_parser.
&gt; Preprocessor error

Ok I see.

This is probably because of the module Dynlink of OCaml which needed
that the interfaces was internally recorded with the program
"extract_crc". The "no implementation available" seems to be rather
"no interface available".

In the current version of Dynlink, it is no more necessary, and in my
version, your example works perfectly well. It will be ok in next
release of OCaml.

-- 
Daniel de RAUGLAUDRE
http://cristal.inria.fr/~ddr/
-------------------
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>

