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 WAA23018; Mon, 3 Sep 2001 22:26:45 +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 WAA19420 for ; Mon, 3 Sep 2001 22:26:44 +0200 (MET DST) Received: from chopin.ai.univie.ac.at (chopin.ai.univie.ac.at [131.130.174.170]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f83KQh107176 for ; Mon, 3 Sep 2001 22:26:43 +0200 (MET DST) Received: (from markus@localhost) by chopin.ai.univie.ac.at (8.9.3/8.9.3/Debian 8.9.3-21) id WAA08996; Mon, 3 Sep 2001 22:26:41 +0200 Date: Mon, 3 Sep 2001 22:26:41 +0200 From: Markus Mottl To: Frank Atanassow Cc: OCAML Subject: Re: [Caml-list] canonical camlp4-suffix? Message-ID: <20010903222641.D8034@chopin.ai.univie.ac.at> References: <20010903175840.A8034@chopin.ai.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from franka@cs.uu.nl on Mon, Sep 03, 2001 at 18:51:36 +0200 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Mon, 03 Sep 2001, Frank Atanassow wrote: > Since you have to know the syntax in question to use camlp4, .p4 and > .p4i extensions alone are not very useful. I think I used to just call > them .ml and .mli, but I put a comment at the top of each file with the > options to pass to ocamlc and camlp4, and sed'd them in my Makefiles. Sounds flexible, but a bit tricky. It might also slow down the compile process a bit. If you already have such a Makefile, I'd be grateful if you could send it to me so that I can unscrupulously steal whatever seems fitting... 8-) What does Daniel think? What would be the best way to automate the application of camlp4? Regards, Markus Mottl -- Markus Mottl markus@oefai.at Austrian Research Institute for Artificial Intelligence http://www.oefai.at/~markus ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr