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-06 (09:29)
From: Christian RINDERKNECHT <rinderkn@h...>
Subject: Re: [Caml-list] Different types of streams
Hi Daniel,

On Mon, Aug 27, 2001 at 11:49:06AM +0200, Daniel de Rauglaudre wrote:
> I am the implementor of the streams. Actually, I have never been interested
> in the streams themselves, but more in parsing. [...]
> I am not sure that streams built with [< >] are so interesting, especially
> if they are destinated to a real parser.

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.

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?

Best regards,


Christian Rinderknecht                     Phone +33 (0)1 60 76 44 43
Institut National des Télécommunications   Fax   +33 (0)1 60 76 47 11
Département Logiciels Réseaux (LOR)        WWW
9, Rue Charles Fourier, F-91011 Évry Cedex
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