Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Different types of streams
[ 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] Different types of streams
On Wed, Sep 05, 2001 at 06:58:59AM -0400, Dave Mason wrote:

> I want to re-iterate this.  I have several 10's of lines of caml code,
> and probably 1/2 of the programs I write use the [< >] parsing.

And what is the problem?

> I don't think anyone is arguing against fixing the implementation

Camlp4 fixes the implementation. It is complicated to add the same
code in OCaml because it is about manipulatation of pieces of program,
which is very easy and simple in Camlp4 and very complicated with
OCaml. If you are not happy, implement the optimization yourself in
OCaml. Good luck.

> but the [< >] parsers are much more convenient/natural than
> yacc-like parsers for many people and purposes.  Even a switch that
> let me choose LALR or LL parsing but used the same syntax (as some
> C-based tools do - see (I think) ANTLR) would seem to address this.

The point is *not* to remove streams!!!! Streams and their LL1 parsers
remain!!! I just ask people to preprocess by "-pp camlp4o". Is that
so complicated? Are you allergic to my program?

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