Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Camlp4 not work with ocamlc.
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Mike Potanin <potanin@m...>
Subject: Re: [Caml-list] Camlp4 not work with ocamlc.
On Tue, 10 Dec 2002, Daniel de Rauglaudre wrote:

> Hi,
>
> On Tue, Dec 10, 2002 at 06:23:06PM +0300, Mike Potanin wrote:
> >
> > bash$ camlp4 pa_o.cmo ./tr.cma pr_o.cmo test.ml
> > Error while loading "./tr.cma": no implementation available for Tr_parser.
>
> According to your example, this is strange indeed. I would like to
> see your complete example. Could you send it to me if not too
> complicated? Thanks.
I place complite example at http://wtk.ru/pm/fp/caml/tr.tgz bat currently
it "raw". I wont make "syntax sugar" - tr-command like Perl.
<:tr<a-z/A-Z>> "asdf" work from top, but can not comlile:

bash$ ocamlc -pp "camlp4o ./tr.cma" test.ml
Error while loading "./tr.cma": no implementation available for Tr_parser.
Preprocessor error

>

Thanks!

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