Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] camlp4 Plexer.no_quotations default
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] camlp4 Plexer.no_quotations default
Hi,

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. 

No, because it supposes that people using the Camlp4 quotations would
always have to set it explicitely to false. And I think that there are
much more people using the Camlp4 quotations than using the token <:>

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" ...

Something like that. Would you like it?

-- 
Daniel de RAUGLAUDRE
http://cristal.inria.fr/~ddr/
-------------------
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