caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Christophe Raffalli <Christophe.Raffalli@univ-savoie.fr>
To: Caml list <caml-list@inria.fr>
Subject: [Caml-list] Writing preprocessor using compiler-libs
Date: Tue, 29 Jul 2014 23:47:35 +0200	[thread overview]
Message-ID: <20140729214735.GA24140@delli7.univ-savoie.fr> (raw)

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]


Hello,

There are a few examples and documentation on how to write syntax extensions without camlp4 using -ppx compiler flags.

However, I could not find an example of writing a preprocessor compatible with -pp only using compiler-libs and without camlp4 ?

Anyone with an example, even very simple like a calculator ;-) Or some guide lines ...

Cheers,
Christophe

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

             reply	other threads:[~2014-07-29 21:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-29 21:47 Christophe Raffalli [this message]
2014-07-29 23:32 ` Peter Zotov

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=20140729214735.GA24140@delli7.univ-savoie.fr \
    --to=christophe.raffalli@univ-savoie.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;
as well as URLs for NNTP newsgroup(s).