From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id 6BE7BBC88 for ; Mon, 7 Feb 2005 21:42:47 +0100 (CET) Received: from feline.thelackthereof.org (cm-24-121-64-180.flagstaff.az.npgco.com [24.121.64.180]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id j17KgkCg006530 for ; Mon, 7 Feb 2005 21:42:47 +0100 Received: from awwaiid by feline.thelackthereof.org with local (Exim 3.36 #1 (Debian)) id 1CyFiW-0003Ts-00 for ; Mon, 07 Feb 2005 13:42:44 -0700 Date: Mon, 7 Feb 2005 13:42:44 -0700 From: Brock To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] OCaml expression evaluated in a OCaml program Message-ID: <20050207204244.GE18562@thelackthereof.org> References: <4207705F.4030501@nemoworld.info> <4207948D.6030705@yahoo.fr> <420793B9.3020504@neometsys.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <420793B9.3020504@neometsys.fr> User-Agent: Mutt/1.5.6+20040907i X-Miltered: at nez-perce with ID 4207D2C6.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 ocaml:01 ocaml:01 metaocaml:01 metaocaml:01 wrote:01 wrote:01 runtime:01 toplevel:01 caml-list:01 beginner's:01 beginners:01 bug:01 ...:98 ...:98 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=disabled version=3.0.2 X-Spam-Level: Eh? In the archive message I gave an example of it being possible. I even wrapped it up in a lovely library... see * http://thelackthereof.org/wiki.pl/OCaml_Eval Though, as the website says, "This is a horrid thing that you probably shouldn't do..." If you want to do it the Right Way, then use MetaOCaml. * http://www.metaocaml.org/ --Brock On 2005.02.07.11.13, Nicolas Dufour wrote: | sejourne_kevin wrote: | | >Nicolas Dufour a ?crit : | > | >>I try to know if I can evaluate OCaml expressions in a OCaml program | >>during runtime ?? | > | >This is not possible. But you can try something with the toplevel: | >http://caml.inria.fr/archives/200404/msg00282.html | | damned .. not possible ..... | I hope it exists scriptic languages embedded in ocaml ... or i will have | to create one ... oh boy .... | | _______________________________________________ | Caml-list mailing list. Subscription management: | http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list | Archives: http://caml.inria.fr | Beginner's list: http://groups.yahoo.com/group/ocaml_beginners | Bug reports: http://caml.inria.fr/bin/caml-bugs