From: Markus Mottl <markus.mottl@gmail.com>
To: bob zhang <bobzhang1988@gmail.com>
Cc: Caml List <caml-list@inria.fr>
Subject: Re: [Caml-list] Sexplib bug report
Date: Fri, 17 Feb 2012 00:34:52 -0500 [thread overview]
Message-ID: <CAP_800qnf3rL8oTEcX_Y1sAOkqwWOxdiOQ4W+6xseo2H0Z_y3Q@mail.gmail.com> (raw)
In-Reply-To: <CANcqPu6wm+RypDmOAoeyYS9d+kxHRiBP0b9qRU7PMGP4j5DUPQ@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 861 bytes --]
On Thu, Feb 16, 2012 at 20:55, bob zhang <bobzhang1988@gmail.com> wrote:
> Is it possible to separate the syntax extension from the code
> generation part? syntax extension is always fragile, code generation
> API is still pretty useful. In my opinion, the main meat lies in code
> generation part.
>
Not sure, but even if, I guess it would not be easy.
> <:sexp< type t = bla bla >> maybe more robust, but it requires
> camlp4of as the basic preprocessor instead of camlp4o
If there were only one preprocessor (sexplib) this would work, but having
more than one (e.g. also bin-prot) does not seem straightforward. It's not
clear how multiple and independently developed code generators can be
composed, especially safely without interfering with each other.
Regards,
Markus
--
Markus Mottl http://www.ocaml.info markus.mottl@gmail.com
[-- Attachment #2: Type: text/html, Size: 1424 bytes --]
prev parent reply other threads:[~2012-02-17 5:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-17 1:55 bob zhang
2012-02-17 5:34 ` Markus Mottl [this message]
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=CAP_800qnf3rL8oTEcX_Y1sAOkqwWOxdiOQ4W+6xseo2H0Z_y3Q@mail.gmail.com \
--to=markus.mottl@gmail.com \
--cc=bobzhang1988@gmail.com \
--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