caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Daniel de Rauglaudre <daniel.de_rauglaudre@inria.fr>
To: caml-list@inria.fr
Subject: Re: [Caml-list] Camlp4 "vs" JSE
Date: Thu, 7 Feb 2002 06:25:56 +0100	[thread overview]
Message-ID: <20020207062556.C19296@verdot.inria.fr> (raw)
In-Reply-To: <4.3.2.7.2.20020206141341.00cd4100@arda.pair.com>; from checker@d6.com on Wed, Feb 06, 2002 at 02:14:13PM -0800

Hi,

On Wed, Feb 06, 2002 at 02:14:13PM -0800, Chris Hecker wrote:

> What does that mean, "can't guarantee parseability?"

I wondered that also but I think they meant that their preprocessor
can treat even non parsable input. For exemple, in C, if your input
is:
      /* main () { printf("hello, world"); }

It is not parsable since the comment does not end, but if your
preprocessor is:
      sed -e 's|/\*||'

Which removes the initial /*, the C compiler can parse.

Camlp4 is a preprocessor which parses, respecting a "grammar" (it's
why they say "grammar-based"), what sed or /lib/cpp don't really do:
they just look at what is interesting for them, even if the rest is
not correct C.

Well, it is the way I interpreted what they said.

-- 
Daniel de RAUGLAUDRE
daniel.de_rauglaudre@inria.fr
http://cristal.inria.fr/~ddr/
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


  reply	other threads:[~2002-02-07  5:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-06 13:37 Dave Berry
2002-02-06 14:59 ` Daniel de Rauglaudre
2002-02-06 22:14   ` Chris Hecker
2002-02-07  5:25     ` Daniel de Rauglaudre [this message]
2002-02-07 14:08 Krishnaswami, Neel

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=20020207062556.C19296@verdot.inria.fr \
    --to=daniel.de_rauglaudre@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;
as well as URLs for NNTP newsgroup(s).