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] How to read three integers from a text-file... ?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-04-30 (13:54)
From: T. Kurt Bond <tkb@t...>
Subject: Re: [Caml-list] How to read three integers from a text-file... ?
Francois Pottier, speaking of using a "Functional Unparsing" like 
approach (cps) to regexps writes:

> Yes, it would be very nice to use this approach for regexps. Unfortunately,
> Danvy's encoding relies on the fact that the format specification is *not*
> a string. So, it would be possible to devise something along these lines,
> but the good old regexp syntax would probably have to be dropped.

That is not necessarily a bad thing.  The classic string-based regexp
syntax has often been criticized for unreadability.  Scsh's SRE
sexp-based regexp syntax may be an improvement.  I imagine that
something using this a cps approach could be an improvement, since the
"Functional Unparsing" approach to printing seems to provide a
reasonable notation.
T. Kurt Bond, tkb@tkb.mpl.com

To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners