Version française
Home     About     Download     Resources     Contact us    
Browse thread
Using camlp4 in extensions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jacques Carette <carette@m...>
Subject: Re: [Caml-list] Using camlp4 in extensions
Mauricio Fernandez wrote:
> I believe he's not referring to simultaneous use of pa_monad and another
> extension in user code, but of Camlp4MacroParser *in* the sources of pa_monad.
>   
That's right.

> Since pa_monad is build with
>
>   ocamlc -I +camlp4 -pp camlp4orf -c pa_monad.ml
>
> changing that to 
>
>   ocamlc -I +camlp4 -pp "camlp4orf Camlp4MacroParser.cmo" -c pa_monad.ml
>
> might work.
>   
Definitely worth exploring, thanks!

Jacques