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.8 required=5.0 tests=AWL,SPF_FAIL autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id E31C1BB84 for ; Sun, 21 Dec 2008 17:59:54 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.36,259,1228086000"; d="scan'208";a="20673051" Received: from concorde.inria.fr ([192.93.2.39]) by mail3-smtp-sop.national.inria.fr with ESMTP; 21 Dec 2008 17:59:54 +0100 Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id mBLGxrbU010047 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=OK) for ; Sun, 21 Dec 2008 17:59:54 +0100 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AnsDAK0ETklQRFuwgWdsb2JhbACTZwEBFiKnZliPS4ZD X-IronPort-AV: E=Sophos;i="4.36,259,1228086000"; d="scan'208";a="32947696" Received: from furbychan.cocan.org ([80.68.91.176]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/AES256-SHA; 21 Dec 2008 17:59:53 +0100 Received: from rich by furbychan.cocan.org with local (Exim 4.63) (envelope-from ) id 1LERei-00078G-9S; Sun, 21 Dec 2008 16:59:52 +0000 Date: Sun, 21 Dec 2008 16:59:52 +0000 To: Oliver Bandel Cc: caml-list@inria.fr Subject: Re: [Caml-list] Re: camlp4 on Debian lenny Message-ID: <20081221165951.GA26758@annexia.org> References: <1229778773.494cef55714e8@webmail.in-berlin.de> <1229779859.494cf393519fd@webmail.in-berlin.de> <1229792864.494d2660d6fb8@webmail.in-berlin.de> <1229867787.494e4b0b81a9a@webmail.in-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1229867787.494e4b0b81a9a@webmail.in-berlin.de> User-Agent: Mutt/1.5.13 (2006-08-11) From: Richard Jones X-Miltered: at concorde with ID 494E760A.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 0100,:01 bandel:01 camlp:01 ocaml's:01 ocaml:01 ocaml:01 wiki:01 frisch:01 lenny:98 cathedral:98 .....:98 scrap:98 wrote:01 oliver:01 On Sun, Dec 21, 2008 at 02:56:27PM +0100, Oliver Bandel wrote: > But in the case of camlp4 it looks like the bazaar. > The regularity of the cathedral, as harsh as crisp as > OCaml's type system I miss in the case of Camlp4. :( OCaml 3.09 OCaml 3.10 OCaml 3.11 ..... + + + camlp4 -----+---> camlp4 was -----> camlp4 development --> "new" camlp4 \ rewritten continues \ \ \ not everyone agrees with the rewrite, so old camlp4 -----> camlp5 development continues as camlp5 All the distributions now ship OCaml, camlp4 and camlp5. This means you can continue to compile and use pre-3.10 software which relies on the old camlp4 (now called camlp5). Or you can use the new camlp4 which has some nice bits (like Reflective OCaml and the "scrap your boilerplate" stuff). The worst thing is the lack of good documentation for camlp4. The wiki is a good start (http://brion.inria.fr/gallium/index.php/Camlp4). I've said it before, there's a good book's worth of material in this subject. If you prefer looking at code, then take a look at: http://code.google.com/p/bitstring/ (camlp4) http://merjis.com/developers/pgocaml (camlp4) http://alain.frisch.fr/soft#openin (camlp4 & camlp5) http://martin.jambon.free.fr/micmatch.html (camlp5 & camlp4) http://martin.jambon.free.fr/extend-ocaml-syntax.html (camlp5) Actually, there's loads more projects here ... http://caml.inria.fr/cgi-bin/hump.en.cgi?sort=0&browse=92 Rich. -- Richard Jones Red Hat