From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id UAA30772; Fri, 16 Apr 2004 20:32:41 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA30546 for ; Fri, 16 Apr 2004 20:32:40 +0200 (MET DST) Received: from smtp1.adl2.internode.on.net (smtp1.adl2.internode.on.net [203.16.214.181]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i3GIWbYM025160 for ; Fri, 16 Apr 2004 20:32:38 +0200 Received: from [192.168.1.200] (ppp117-65.lns1.syd2.internode.on.net [150.101.117.65]) by smtp1.adl2.internode.on.net (8.12.9/8.12.9) with ESMTP id i3GIWPZq085167; Sat, 17 Apr 2004 04:02:26 +0930 (CST) Subject: Re: [Caml-list] Conditional Compilation (was mod_caml Makefile) From: skaller Reply-To: skaller@users.sourceforge.net To: Kenneth Knowles Cc: Richard Jones , caml-list@pauillac.inria.fr In-Reply-To: <20040416172726.GC27407@tallman.kefka.frap.net> References: <20040415224657.GB4352@swordfish> <20040416081117.GA21063@redhat.com> <20040416164903.GE4352@swordfish> <20040416171206.GF4352@swordfish> <20040416171708.GA29995@redhat.com> <20040416172726.GC27407@tallman.kefka.frap.net> Content-Type: text/plain Message-Id: <1082140344.20063.157.camel@pelican.wigram> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 (1.2.2-4) Date: 17 Apr 2004 04:32:25 +1000 Content-Transfer-Encoding: 7bit X-Miltered: at concorde by Joe's j-chkmail ("http://j-chkmail.ensmp.fr")! X-Loop: caml-list@inria.fr X-Spam: no; 0.00; caml-list:01 sourceforge:01 2004:99 knowles:99 2004:99 camlp:01 laughing:01 9660:01 glebe:01 ocaml:01 caml:01 nsw:01 snail:02 makefile:02 checkout:02 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Sat, 2004-04-17 at 03:27, Kenneth Knowles wrote: > On Fri, Apr 16, 2004 at 06:17:08PM +0100, Richard Jones wrote: > > Another reason why having #ifdef's would be useful ... > > > > Rich. > > Conditional compilation... I've mulled this over a bit, anyone want to chat > about it? camlp4 has conditional compilation.. and lots more :D but it only works with Ocaml .. In general the answer is the same as I keep giving: if you have a general purpose language and use it as a code generator, the very notion of 'conditional compilation' as some kind of special feature makes you roll on the floor laughing. Its a programming language, of course it has conditionals! -- John Skaller, mailto:skaller@users.sf.net voice: 061-2-9660-0850, snail: PO BOX 401 Glebe NSW 2037 Australia Checkout the Felix programming language http://felix.sf.net ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners