From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA16946; Wed, 5 Sep 2001 14:06:12 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA17137 for ; Wed, 5 Sep 2001 14:06:11 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f85C6B915415 for ; Wed, 5 Sep 2001 14:06:11 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id OAA12712 for caml-list@inria.fr; Wed, 5 Sep 2001 14:06:10 +0200 Date: Wed, 5 Sep 2001 14:06:10 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Different types of streams Message-ID: <20010905140610.V5393@verdot.inria.fr> References: <20010905113021.N5393@verdot.inria.fr> <200109051058.f85AwxM05118@sarg.ryerson.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0us In-Reply-To: <200109051058.f85AwxM05118@sarg.ryerson.ca>; from dmason@sarg.ryerson.ca on Wed, Sep 05, 2001 at 06:58:59AM -0400 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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