Browse thread
Using camlp4 in extensions
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | blue storm <bluestorm.dylc@g...> |
| Subject: | Re: [Caml-list] Using camlp4 in extensions |
It might even be possible (though that is a different question, and looks like much more complicated) to use one's extension inside camlp4 quotations, for example : <:expr< open Foo in bar >> On 12/15/08, Jacques Carette <carette@mcmaster.ca> wrote: > 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 > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >