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 discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id 9AF35BC6B for ; Fri, 29 Jun 2007 12:44:20 +0200 (CEST) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.231]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l5TAiJjg026596 for ; Fri, 29 Jun 2007 12:44:20 +0200 Received: by wr-out-0506.google.com with SMTP id 37so669377wra for ; Fri, 29 Jun 2007 03:44:19 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=ev6Jv7J6n3IwLDBCtdvAqozxpZ6JH59hzA5oBC/SUoQnpAI27iqJoMqZUE7i2Wswe3t3cr4MIk/uD+bmaAdOlhFS7GDWORfOw8XGYkcU7YHo3aYvmmbSfHL/xEOfMkdgvzcx5bWVgCMpqCbAj+IsKYQ63WbNmst5m7JZF1eOkaA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=qHLus41fNAuEnCkFEUV3XtFUsc/OFKr68cE728YTsqupfj4XSEAGrDkL3DHJUVw/1EEDedJDNTGqj6QvwCik6iAec5+JKCAwMPNF8DHWaV2PA5RhzKlaRvQjpJNAuAewGImjbvofuectGBQtbSUhxCpO6FqSfzJWoILIYM2bfrw= Received: by 10.78.146.11 with SMTP id t11mr1514621hud.1183113857012; Fri, 29 Jun 2007 03:44:17 -0700 (PDT) Received: by 10.78.192.19 with HTTP; Fri, 29 Jun 2007 03:44:16 -0700 (PDT) Message-ID: <9b415f950706290344g691b3b6emf7316944289b113e@mail.gmail.com> Date: Fri, 29 Jun 2007 12:44:16 +0200 From: "Benedikt Grundmann" Sender: benedikt.grundmann@googlemail.com To: "Robert Roessler" Subject: Re: [Caml-list] camlp4 -I and shared libs Cc: Caml-list In-Reply-To: <4684DDB2.3000007@rftp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <4684DDB2.3000007@rftp.com> X-Google-Sender-Auth: 1518cc2d3c0e9a2c X-Miltered: at discorde with ID 4684E283.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; grundmann:01 camlp:01 libs:01 wiki:01 camlp:01 ocaml:01 syntax:01 ocaml:01 cheers:01 wiki:01 syntax:01 hendrik:01 tews:01 tews:01 translating:01 Hi everybody, At the risk of sounding harsh, I do not like this wiki at all, due to several reasons: 1) Default style sheet is a partial user interface nightmare, a lot of the links are embedded in titles, which happen to have nearly the same styling... So you actually have to hover above each title to find the links. 2) Structure is a mess... Camlp4 can do a lot and that is great. But I do believe that the primary motivation is the extension of OCaml and some simple examples, or even better yet some kind of tutorial is needed. It definitely should start simple maybe even over simplifying things and very very gradually introduce the true power... Anyway I personally learned more from the extremely short page at: http://www.ocaml-tutorial.org/camlp4_3.10 In particular the link to json_static was helpful. In that spirit here is a link to a syntax extension that I am writing as part of the OCaml Summer Project: http://osprepo.janestcapital.com/trac/osp2007/browser/osp/2007/econcurrency/trunk/src/pa_receive.ml Cheers, Bene PS: I do not want to start a flame war, or offend the creators of the Wiki. I just wanted to point out that right now the wiki is not helpful, unless you already now a lot about camlp4... PPS: My syntax extension captures the identifier msg. How is one supposed to write hygienic macros? Should I just store a counter somewhere and generate identifiers like "msg__32432" and hope that nobody else uses the same prefix, or is there some support for things like that in camlp4? 2007/6/29, Robert Roessler : > Nicolas Pouillard wrote: > > On 6/29/07, Hendrik Tews wrote: > >> "Nicolas Pouillard" writes: > >> > >> No major change is planned for Camlp4. I think that's reasonable to > >> start translating extensions. > >> > >> Where is the documentation? > > > > http://brion.inria.fr/gallium/index.php/Camlp4 > > Ah, it's the old "You do not like our docs? Here is the wiki - feel > free to contribute" trick. ;) > > Robert Roessler > roessler@rftp.com > http://www.rftp.com > > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs > -- Calvin: I try to make everyone's day a little more surreal. (From Calvin & Hobbes)