Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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.