From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=AWL,SPF_NEUTRAL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by yquem.inria.fr (Postfix) with ESMTP id D241DBC6B for ; Sat, 3 Nov 2007 17:21:33 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.21,367,1188770400"; d="scan'208";a="3998253" Received: from peray.inria.fr (HELO ausone.inria.fr) ([128.93.8.98]) by mail1-relais-roc.national.inria.fr with SMTP; 03 Nov 2007 17:21:36 +0100 Received: by ausone.inria.fr (sSMTP sendmail emulation); Sat, _d Nov 2007 17:20:54 +0100 From: "Nicolas Pouillard" Cc: caml-list Subject: Re: [Caml-list] Pre-processing stream parsers To: David Teller References: <1194101694.6804.27.camel@Blefuscu> In-Reply-To: <1194101694.6804.27.camel@Blefuscu> Date: Sat, 03 Nov 2007 17:20:54 +0100 Message-Id: <1194106684-sup-5869@ausone.local> User-Agent: Sup/0.2 Content-Type: text/plain; charset=UTF-8 X-Spam: no; 0.00; parsers:01 camlp:01 parsers:01 ctyp:01 ctyp:01 camlp:01 redefines:01 caml-list:01 patt:01 patt:01 ident:01 grammar:02 revised:02 module:03 parameters:03 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