From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E244EBC75 for ; Fri, 18 Feb 2005 09:54:09 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j1I8s9bY011182 for ; Fri, 18 Feb 2005 09:54:09 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id JAA28237 for ; Fri, 18 Feb 2005 09:54:09 +0100 (MET) Received: from reason.levels.unisa.edu.au (reason.levels.unisa.edu.au [130.220.33.11]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j1I8s6KQ027203 for ; Fri, 18 Feb 2005 09:54:08 +0100 Received: from [130.220.46.222] (cis220344.levels.unisa.edu.au [130.220.46.222]) by reason.levels.unisa.edu.au (8.12.10/8.12.10) with ESMTP id j1I8s5St014825; Fri, 18 Feb 2005 19:24:05 +1030 (CST) Message-ID: <4215AD36.1070303@cs.unisa.edu.au> Date: Fri, 18 Feb 2005 19:24:14 +1030 From: Alex Cowie User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ocaml Subject: Re: [Caml-list] Camlp4 documentation References: <4215A18C.7040603@barettadeit.com> In-Reply-To: <4215A18C.7040603@barettadeit.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Miltered: at nez-perce with ID 4215AD31.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 4215AD2E.002 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 baretta:01 wrote:01 wrote:01 syntax:01 ocaml:01 syntax:01 imho:01 jambon:02 revised:02 revised:02 alex:03 alex:03 terribly:03 tutorial:04 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Alex Baretta wrote: > Martin Jambon wrote: > >> On Thu, 17 Feb 2005, Christian Szegedy wrote: >> >> >>> Feel free to write your CamlP4 extension ;) >> >> >> >> :-) >> But there are few things to know/discover before starting. >> >> Is anyone interested in a kind of highly practical tutorial on >> how to extend the syntax of OCaml with Camlp4? >> I could possibly start writing one if there is enough demand. >> >> >> Martin >> > > Why yes! Yet, it's terribly sad that DdR chose to forcibly impose upon > the Camlp4 metaprogrammer to use the revised syntax. This is probably > the main obstacle, together with the relative lack of documentation, > to the diffusion of Camlp4, IMHO. > > Alex > For me, the use of revised syntax has been a disincentive to using Camlp4 metaprogramming. I have always wondered whether a traditional syntax version of Camlp4 was technically feasible. Any comments? Alex Cowie -- School of Computer and Information Science University of South Australia