caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Hendrik Tews <tews@tcs.inf.tu-dresden.de>
To: caml-list@inria.fr
Subject: Re: [Caml-list] camlp4 Plexer.no_quotations default
Date: Mon, 4 Nov 2002 18:02:01 +0100 (CET)	[thread overview]
Message-ID: <15814.43017.131530.150945@gargle.gargle.HOWL> (raw)
In-Reply-To: <20021030150514.Z21451@verdot.inria.fr>

Daniel de Rauglaudre writes:
   Date: Wed, 30 Oct 2002 15:05:14 +0100
   Subject: Re: [Caml-list] camlp4 Plexer.no_quotations default
   
   On Wed, Oct 30, 2002 at 01:32:15PM +0100, Hendrik Tews wrote:
   > 
   > the default value for Plexer.no_quotations is false. This lets
   > "camlp4o pr_o.cmo" fail on legal ocaml programs like 
   >   let ( <:> ) x y = x + y;;
   > I would suggest to make the default value true. 
   
Originally I thought that there are no quotation expanders
defined in the bare camlp4 executable. Therefore I suggested that
quotation expansion should be off by default.

By grepping for Quatation.add I learned that camlp4 contains at
least two quotation expanders: "id" and "string". Are there more?
Where are they documented? (I would also be interested in why
they are included in camlp4?)

   What I could do, if you want, is to add an option of the command
   line of Camlp4 setting it to true. You could use it like that:
          ocamlc -pp "camlp4o -no_quot" ...
   
An option would be fine.

Bye,

Hendrik
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2002-11-04 17:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-30 12:32 Hendrik Tews
2002-10-30 14:05 ` Daniel de Rauglaudre
2002-11-04 17:02   ` Hendrik Tews [this message]
2002-11-04 17:40     ` Daniel de Rauglaudre

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=15814.43017.131530.150945@gargle.gargle.HOWL \
    --to=tews@tcs.inf.tu-dresden.de \
    --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).