Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Francois Berenger <francois.berenger@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] ppx alternative to Campl4 macro?
Date: Tue, 25 Aug 2015 17:16:15 +0200	[thread overview]
Message-ID: <55DC86BF.4050209@inria.fr> (raw)
In-Reply-To: <CAMT7qiR_ynRmhUw89M_vQLXSD9+8y5gf+AUcgTchQHWSf6nEoA@mail.gmail.com>

On 08/25/2015 05:10 PM, Dmitry Bely wrote:
> Currently ppx extensions and Camlp4 cannot coexist:

But probably, ppx extensions can coexist with cppo:

http://mjambon.com/cppo-manual-0.9.2.txt

> https://github.com/ocaml/camlp4/issues/55
> So I'm trying to create something similar to
>
> IFDEF SOMETHING THEN
> val v1 = ...
> val v2 = ...
> ...
> END
>
> But looks like it's impossible to define a extension which would
> (conditionally) include signature items. Is it really so?
>
> - Dmitry Bely

  reply	other threads:[~2015-08-25 15:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-25 15:10 Dmitry Bely
2015-08-25 15:16 ` Francois Berenger [this message]
2015-08-26 13:10   ` Dmitry Bely

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=55DC86BF.4050209@inria.fr \
    --to=francois.berenger@inria.fr \
    --cc=caml-list@inria.fr \
    /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