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 781C9BC6E; Tue, 10 Jul 2007 11:08:36 +0200 (CEST) Received: from ipmail03.adl2.internode.on.net (ipmail03.adl2.internode.on.net [203.16.214.135]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l6A98hSW030349; Tue, 10 Jul 2007 11:08:47 +0200 X-IronPort-AV: E=Sophos;i="4.16,521,1175437800"; d="scan'208";a="114103548" Received: from ppp121-44-3-31.lns4.syd7.internode.on.net (HELO [192.168.1.201]) ([121.44.3.31]) by ipmail03.adl2.internode.on.net with ESMTP; 10 Jul 2007 18:38:40 +0930 Subject: Re: [Caml-list] Camlp4s 4.02 From: skaller To: Daniel de Rauglaudre Cc: Caml List In-Reply-To: <20070710083344.GA9032@yquem.inria.fr> References: <20070709094028.GB9408@yquem.inria.fr> <1183980485.26391.15.camel@rosella.wigram> <20070710083344.GA9032@yquem.inria.fr> Content-Type: text/plain Date: Tue, 10 Jul 2007 19:08:39 +1000 Message-Id: <1184058519.14689.8.camel@rosella.wigram> Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 46934C9B.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; camlp:01 0200,:01 rauglaudre:01 ocaml:01 syntax:01 cmo:01 compilation:01 syntax:01 cmo:01 sourceforge:01 wrote:01 wrote:01 caml-list:01 native:02 native:02 On Tue, 2007-07-10 at 10:33 +0200, Daniel de Rauglaudre wrote: > Hi, > > On Mon, Jul 09, 2007 at 09:28:05PM +1000, skaller wrote: > > > At the very least, Ocaml should be modified to add a new > > statement/directive such as: > > > > syntax fred;; > > This exist ! You can use : > > #load "fred.cmo"; > yes, but it only works in the top level, where it is a burden. It doesn't work where it is actually needed: batch compilation. besides .. that command does dynamic loading, which is not the same as specifying a syntax. For dynamic loading the syntax is evil: the .cmo should not be required (it could be native code loading native code .. :) -- John Skaller Felix, successor to C++: http://felix.sf.net