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=0.3 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 4C9DABBC1 for ; Wed, 9 Apr 2008 17:29:31 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8BANZ9/EfRVYT4c2dsb2JhbACRTQEMAwQFCRSUeoV2 X-IronPort-AV: E=Sophos;i="4.25,630,1199660400"; d="scan'208";a="24805666" Received: from an-out-0708.google.com ([209.85.132.248]) by mail4-smtp-sop.national.inria.fr with ESMTP; 09 Apr 2008 17:29:30 +0200 Received: by an-out-0708.google.com with SMTP id b15so709986ana.102 for ; Wed, 09 Apr 2008 08:29:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=fK+vfoj4x3onMUpo1ofGpZGB8f4SrFJ1ObpoPs44mHU=; b=CYq4o6PxLRWalOjYt113wV0EWopPDxUPFPynnSkW6F8YS+dSgHTr0cv5jfsXPKKUytKINI84GCCvDs+QxsknlZrmGC0DCdehitNUEFYubHXCNZ8+ZctGlXyui1GrdSyubyNRXVUHi8kRaLouCFWi2uJwSrTi2mRQb2z9p8upsbk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=EbEuOz30WJHDIvwms4liZwB9ujBJD7kGi7epWspJJATAMxh2VL+3wEHAv9EIgHO6BTdQwwniMBTaPbkNZfmyfEwJ8vq347dSwjip7Hn/V5okvy/VcpYJFEKGcrxj5CffZNdO2+DRdpOnWnto70kxvnaZl+hYzeydazkZgHsURZg= Received: by 10.100.207.5 with SMTP id e5mr400491ang.113.1207754969164; Wed, 09 Apr 2008 08:29:29 -0700 (PDT) Received: by 10.100.119.19 with HTTP; Wed, 9 Apr 2008 08:29:29 -0700 (PDT) Message-ID: <6f9f8f4a0804090829sfcbfad2of348c1a6733d0ae7@mail.gmail.com> Date: Wed, 9 Apr 2008 17:29:29 +0200 From: "Loup Vaillant" To: "Nicolas Pouillard" Subject: Re: Re : [Caml-list] Porting camlp4 stuff from 3.09 to 3.10: need help Cc: "Caml_mailing list" In-Reply-To: <1207749837-sup-1927@port-ext16.ensta.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <243732.71350.qm@web27014.mail.ukl.yahoo.com> <1207749837-sup-1927@port-ext16.ensta.fr> X-Spam: no; 0.00; camlp:01 wiki:01 ocaml:01 wiki:01 syntax:01 syntax:01 ocaml:01 camlp:01 ocaml's:01 caml-list:01 jambon:01 grammar:02 grammar:02 newbie:02 seems:03 Hello, Now, I'm lost in the wiki. Do we have somewhere the 3.10 equivalent of this? http://martin.jambon.free.fr/extend-ocaml-syntax.html More specifically, I think about the part which deals with extending The Ocaml grammar, (adding a "try ... finally" clause). The wiki page about syntax extensions: http://brion.inria.fr/gallium/index.php/Syntax_extension_tutorial Seems to be about creating a new grammar, and then extending it. I can't find (or understand) about extending specifically the Ocaml (base syntax) grammar. Finally, do we have some introductory page about the 3.10 camlp4, which could be understood by a complete newbie? I know Ocaml's core language pretty well, but my camlp4 knowledge is close to nil. Thanks, Loup