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 CAA19744; Thu, 8 Apr 2004 02:33: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 CAA20116 for ; Thu, 8 Apr 2004 02:33:44 +0200 (MET DST) Received: from host1.stonesfair.com (host1.stonesfair.com [208.184.191.145]) by concorde.inria.fr (8.12.10/8.12.10) with ESMTP id i380XgYM016131 for ; Thu, 8 Apr 2004 02:33:43 +0200 Received: from mev (63-217-154-71.greystoneapts.com [63.217.154.71]) by host1.stonesfair.com (8.12.8/8.12.8) with ESMTP id i380GcdP020758 for ; Wed, 7 Apr 2004 17:16:38 -0700 Received: from ijtrotts by mev with local (Exim 3.35 #1 (Debian)) id 16MISi-0000RQ-00 for ; Thu, 03 Jan 2002 16:43:56 -0800 Date: Thu, 3 Jan 2002 16:43:56 -0800 To: caml-list@inria.fr Subject: Re: [Caml-list] Dynamically evaluating OCaml code Message-ID: <20020104004356.GA1672@mev> Mail-Followup-To: ijtrotts@ucdavis.edu, caml-list@inria.fr References: <20040407210524.GA13909@bourg.inria.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040407210524.GA13909@bourg.inria.fr> User-Agent: Mutt/1.3.28i From: Issac Trotts 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 dynamically:01 issac:01 trotts:01 ijtrotts:01 2004:99 basile:01 2004:99 python:01 python's:01 python:01 issac:01 trotts:01 ijtrotts:01 evaluates:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk X-Status: X-Keywords: X-UID: 122 On Wed, Apr 07, 2004 at 11:05:24PM +0200, Basile Starynkevitch wrote: > On Wed, Apr 07, 2004 at 06:47:30PM +0000, John Goerzen wrote: > > > I am moving from Python to OCaml and one of the things I miss is > > Python's eval() call. It takes a string representing a bit of Python > > source code, evaluates it, and returns the result. I would like to be > > able to do similar things with OCaml. [...] > However, for the beginner, the good answer (at least as given by Ocaml > gurus here) to the usual "I want eval" request is simply "no you don't > really need it" That being so, how would you use OCaml as an extension language for a C program? -- Issac Trotts http://mallorn.ucdavis.edu/~ijtrotts (w) 530-757-8789 ------------------- 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