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.0 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 C1B5ABBAF for ; Wed, 4 Feb 2009 05:02:57 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqMDABGiiEndx9kLgWdsb2JhbACULAEBCwsiLrsChBQG X-IronPort-AV: E=Sophos;i="4.37,376,1231110000"; d="scan'208";a="23535037" Received: from ajax.nicta.com.au ([221.199.217.11]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/AES256-SHA; 04 Feb 2009 05:02:56 +0100 Received: from nicta-atp-mail.in.nicta.com.au ([129.94.151.12]) by ajax.nicta.com.au with esmtp (Exim 4.63) (envelope-from ) id 1LUYxw-0002Ou-Hg for caml-list@yquem.inria.fr; Wed, 04 Feb 2009 15:02:37 +1100 Received: from atp-mbx1.in.nicta.com.au ([221.199.216.123]) by nicta-atp-mail.in.nicta.com.au with Microsoft SMTPSVC(5.0.2195.6713); Wed, 4 Feb 2009 14:54:54 +1100 Received: from atp-mbx1.in.nicta.com.au ([221.199.216.123]) by atp-mbx1.in.nicta.com.au ([221.199.216.123]) with mapi; Wed, 4 Feb 2009 14:54:54 +1100 From: Paul Steckler To: "caml-list@yquem.inria.fr" Date: Wed, 4 Feb 2009 14:54:53 +1100 Thread-Topic: Limiting scope of grammar extension Thread-Index: AQHJhnxWkp89a07ujkOkDX+w2Xvy8w== Message-ID: <2EB36A07AAE8C44BBB1986425E7A22D0034D5BEF34@atp-mbx1.in.nicta.com.au> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US x-tm-as-product-ver: SMEX-8.0.0.1181-5.500.1027-16442.000 x-tm-as-result: No--33.920000-8.000000-31 x-tm-as-user-approved-sender: No x-tm-as-user-blocked-sender: No Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 04 Feb 2009 03:54:54.0744 (UTC) FILETIME=[56D20180:01C9867C] X-SA-Exim-Connect-IP: 129.94.151.12 X-SA-Exim-Mail-From: Paul.Steckler@nicta.com.au Subject: Limiting scope of grammar extension X-SA-Exim-Version: 4.2.1 (built Tue, 09 Jan 2007 17:23:22 +0000) X-SA-Exim-Scanned: Yes (on ajax.nicta.com.au) X-Spam: no; 0.00; steckler:01 steckler:01 camlp:01 ocaml:01 syntax:01 grammar:02 grammar:02 transformed:02 scope:04 extension:06 extension:06 uses:07 paul:10 paul:10 file:11 Hi, I have a camlp4 grammar extension that I want to apply to some parts of a= .ml file, but not others. Most of the file uses normal OCaml syntax. Is there a way to mark the parts that I want transformed according to the= grammar extension, while the other parts are left alone? -- Paul -- Paul Steckler National ICT Australia paul DOT steckler AT nicta.com.au