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.0 required=5.0 tests=none 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 A0F97BC0C for ; Mon, 15 Jan 2007 01:06:17 +0100 (CET) Received: from hades.snarc.org (hades.snarc.org [212.85.152.11]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0F06H1Q029468 for ; Mon, 15 Jan 2007 01:06:17 +0100 Received: by hades.snarc.org (Postfix, from userid 1000) id 8FAE71B482; Mon, 15 Jan 2007 01:05:44 +0100 (CET) Date: Mon, 15 Jan 2007 01:05:44 +0100 To: Jon Harrop Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Ocaml compiler features Message-ID: <20070115000544.GA28731@snarc.org> References: <45A87011.8080203@gmail.com> <200701141823.32855.jon@ffconsultancy.com> <20070114184148.GA26213@snarc.org> <200701142049.57959.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200701142049.57959.jon@ffconsultancy.com> X-Warning: Email may contain unsmilyfied humor and/or satire. User-Agent: Mutt/1.5.13 (2006-08-11) From: tab@snarc.org (Vincent Hanquez) X-Miltered: at discorde with ID 45AAC579.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 compiler:01 camlp:01 camlp:01 ocaml:01 syntax:01 syntax:01 wrote:01 caml-list:01 incompatible:01 macros:01 depends:04 problem:05 trivially:05 meant:06 On Sun, Jan 14, 2007 at 08:49:57PM +0000, Jon Harrop wrote: > Does it make code unsharable or can you apply multiple camlp4 macros to one > piece of code? What I meant, is when you need to read code that used camlp4 you need to learn almost a new language. It obviously depends of the changes, but it's not pure OCaml. I can trivially find a lots of different incompatible syntax doing a 5s search, that's the problem. The common syntax "extensions" should come with OCaml so that everyone that use OCaml use the same language. I'm not saying camlp4 has no use, but it should be limited to very specific use. -- Vincent Hanquez