Version française
Home     About     Download     Resources     Contact us    
Browse thread
Pre-processing stream parsers
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Nicolas Pouillard <nicolas.pouillard@g...>
Subject: Re: [Caml-list] Pre-processing stream parsers
Excerpts from David Teller's message of Sat Nov 03 15:54:54 +0100 2007:
>    Dear list,
>  I'm currently attempting to use Camlp4 3.10 to pre-process stream
> parsers and I have a few difficulties.
> 
>  Now, while I have no problems with symbols such as
> type_ident_and_parameters, ctyp or opt_eq_ctyp, which are imported, I
> don't find the correct module to open to get stream_patt_comp,
> stream_begin, stream_end or stream_patt.

Internal rules for stream parsers are in:

  camlp4/Camlp4Parsers/Camlp4OCamlRevisedParserParser.ml
  camlp4/Camlp4Parsers/Camlp4OCamlParserParser.ml

Most  of  the  grammar  is  in  the revised one, the other just redefines some
rules.

HTH,
-- 
Nicolas Pouillard aka Ertai