caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Pre-processing stream parsers
@ 2007-11-03 14:54 David Teller
  2007-11-03 16:20 ` [Caml-list] " Nicolas Pouillard
  0 siblings, 1 reply; 2+ messages in thread
From: David Teller @ 2007-11-03 14:54 UTC (permalink / raw)
  To: Caml

   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.

 Could anyone give me a hand ?

Thanks,
 David

-- 
David Teller ------------------------------------------
Security of Distributed Systems -----------------------
Project JStify: Static Analysis for JavaScript 2  -----
-- http://www.univ-orleans.fr/lifo/Members/David.Teller
----- Laboratoire d'Informatique Fondamentale d'Orleans


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] Pre-processing stream parsers
  2007-11-03 14:54 Pre-processing stream parsers David Teller
@ 2007-11-03 16:20 ` Nicolas Pouillard
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Pouillard @ 2007-11-03 16:20 UTC (permalink / raw)
  To: David Teller; +Cc: caml-list

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-11-03 16:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-11-03 14:54 Pre-processing stream parsers David Teller
2007-11-03 16:20 ` [Caml-list] " Nicolas Pouillard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).