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
Partial parsing
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2006-07-28 (13:39)
From: Sebastien Ferre <ferre@i...>
Subject: Re: [Caml-list] Partial parsing

Fermin Reig wrote:
> This sounds like a parsing problem suitable for the parser combinator 
> approach. There, the result of a parse is a pair where one of the two 
> components is the remaining of the input string.
> Many of the papers and implementations are from the Haskell folk, but I 
> think there are some in Ocaml as well.

Indeed. Look at the library Ostaps in the Caml hump.