English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

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: 2001-09-05 (07:34)
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?

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