caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "blue storm" <bluestorm.dylc@gmail.com>
To: "Jacques Carette" <carette@mcmaster.ca>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Using camlp4 in extensions
Date: Mon, 15 Dec 2008 17:38:07 +0100	[thread overview]
Message-ID: <527cf6bc0812150838m39e64a87p41f6527dfeec4f89@mail.gmail.com> (raw)
In-Reply-To: <494682AA.9070204@mcmaster.ca>

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
>


  reply	other threads:[~2008-12-15 16:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-15 14:04 Jacques Carette
2008-12-15 15:24 ` [Caml-list] " Richard Jones
2008-12-15 16:10   ` Mauricio Fernandez
2008-12-15 16:15     ` Jacques Carette
2008-12-15 16:38       ` blue storm [this message]
2008-12-15 22:13 ` Stefano Zacchiroli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=527cf6bc0812150838m39e64a87p41f6527dfeec4f89@mail.gmail.com \
    --to=bluestorm.dylc@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=carette@mcmaster.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).