Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Camlp4 not work with ocamlc.

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

> I place complite example at 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"
> Error while loading "./tr.cma": no implementation available for Tr_parser.
> 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.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: