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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 71B48BC69 for ; Mon, 19 Mar 2007 11:20:51 +0100 (CET) Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.231]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2JAKoT9012413 for ; Mon, 19 Mar 2007 11:20:51 +0100 Received: by wx-out-0506.google.com with SMTP id i26so1306630wxd for ; Mon, 19 Mar 2007 03:20:50 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; 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; b=TEjlai4zlsf8FFd7Vc8YMib20QMR0Thqm7WIBADA7HyhOFQI1cwgo5aLaYVmf3jRGxX2wggIxjl5YB4PC+ImAOZroKxYXjVHQQzkKIrTB9UZapRUNyMQSZw96xFkbpFO8aEspiEowi2zoKyEZWjRnsIXQuJ9OZ3t45Z/OShuYeM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=AfiaaZz23A3MI+rfrbXZUilWWkYV0PFI1mP5QkHHbKm304v+dMASolFlNm1QvOWVc0hBGMkWaQ4uLZiQQl5qyapsO3G/HM3xeLllHwDbu1WSoV4fcNHJ/b/TZ7fcLgv+qvCYqlFBBBOIea3h0YYkcCp1dWk4BoosB24N4GSVQxM= Received: by 10.70.29.14 with SMTP id c14mr1380779wxc.1174299650197; Mon, 19 Mar 2007 03:20:50 -0700 (PDT) Received: by 10.114.183.4 with HTTP; Mon, 19 Mar 2007 03:20:50 -0700 (PDT) Message-ID: Date: Mon, 19 Mar 2007 11:20:50 +0100 From: "Nicolas Pouillard" To: "Loup Vaillant" Subject: Re: [Caml-list] Where are the AST specs? Cc: caml-list@yquem.inria.fr In-Reply-To: <6f9f8f4a0703190217o5a975a78s16fe2be77825af01@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6f9f8f4a0703181022q2b9d7f8bt33919e07f3799c65@mail.gmail.com> <95513600703190145h5a0c6202t518ff61fcde83655@mail.gmail.com> <6f9f8f4a0703190217o5a975a78s16fe2be77825af01@mail.gmail.com> X-j-chkmail-Score: MSGID : 45FE6402.000 on concorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at concorde with ID 45FE6402.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; andrieu:01 oandrieu:01 ocaml:01 syntax:01 syntax:01 ocaml:01 camlp:01 camlp:01 camlcvs:01 cvsweb:01 rauglaudre:01 ifdef:01 wrote:01 wrote:01 caml-list:01 On 3/19/07, Loup Vaillant wrote: > 2007/3/19, Olivier Andrieu : > > On 3/18/07, Loup Vaillant wrote: > > > Hello everyone, > > > > > > I am currently working on giving Ocaml a Lisp syntax. > > > > In case you haven't noticed it, there used to be a lispish syntax for > > ocaml written with camlp4. > > It's in the camlp4 tree : > > http://camlcvs.inria.fr/cgi-bin/cvsweb/ocaml/camlp4/unmaintained/scheme > > Actually, I haven't noticed it. At first glance this syntax is close > to my standards. However, Do you know if it has macros? Clean macros > remain my main goal. My holy grail is the power (and ease of use) of > Common Lisp macros. I think, it don't has macros, but Daniel de Rauglaudre would give a more accurate answer. BTW camlp4 provides a simple macro system through a dynamic syntax extension. It features DEFINE, IFDEF, INDEF, and INCLUDE. However camlp4 is itself a powerful way to manage the OCaml syntax as AST through it's quotation system. Have you a simple specification of what you want for OCaml (or some examples). -- Nicolas Pouillard