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 UAA22978; Sat, 28 Dec 2002 20:47:51 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id UAA23194 for ; Sat, 28 Dec 2002 20:47:50 +0100 (MET) Received: from kraid.nerim.net (smtp-101.nerim.net [62.4.16.101]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id gBSJlnn14860 for ; Sat, 28 Dec 2002 20:47:49 +0100 (MET) Received: from hector.lesours (lesours.starynkevitch.net [80.65.224.217]) by kraid.nerim.net (Postfix) with ESMTP id 8076840F13; Sat, 28 Dec 2002 20:36:04 +0100 (CET) Received: from basile by hector.lesours with local (Exim 3.36 #1 (Debian)) id 18SMw0-0000HL-00; Sat, 28 Dec 2002 20:47:48 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <15885.65506.176303.388388@hector.lesours> Date: Sat, 28 Dec 2002 20:47:46 +0100 To: Dave Newman Cc: caml-list@inria.fr Subject: [Caml-list] Can One Define LISP-like Macros in Ocaml? In-Reply-To: References: <20021227073709.GD608@swordfish> X-Mailer: VM 7.07 under Emacs 21.2.2 From: Basile STARYNKEVITCH Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk >>>>> "Dave" == Dave Newman writes: Dave> Seeing the LISP like output from -dlambda reminded me of a Dave> question I've had about ocaml. Dave> Is there any support for defining macros in ocaml akin to Dave> LISP defmacro? That is what is camlp4 for. Use camlp4. See http://caml.inria.fr/camlp4/index.html -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet alias: basiletunesorg 8, rue de la Faïencerie, 92340 Bourg La Reine, France ------------------- 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