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
Salut Christian,

On Wed, Sep 05, 2001 at 03:03:35AM +0200, Christian RINDERKNECHT wrote:

> As you may remember, I wrote a fairly complex and big parser (~4000
> lines) using the streams [< >]. The story is that I first computed by
> hand the EBNF grammar, and then the streams [< >] were of great help
> because their syntax is close to the BNF one. This made maintenance
> easier too.

When I said streams are not so interesting, I meant only the ones built
with [< >], not the ones built with Stream.from, Stream.of_string and
Stream.of_channel. And of course, I am still using parsers, especially
in the grammars of Camlp4 using streams as input.

> As an aside: the performance of my parser was not a concern,
> feasability was the main challenge. I nevertheless understand it can
> be an important issue. I understood there was a plan to remove the [<
> >] from OCaml, and to request users using camlp4, is it correct?

Yes. Is it a problem?

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