From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id NAA13385 for caml-redistribution; Wed, 28 Oct 1998 13:14:00 +0100 (MET) 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 LAA12063 for ; Wed, 28 Oct 1998 11:00:13 +0100 (MET) Received: from po.EECS.Berkeley.EDU (po.EECS.Berkeley.EDU [128.32.138.172]) by nez-perce.inria.fr (8.8.7/8.8.7) with ESMTP id LAA22791 for ; Wed, 28 Oct 1998 11:00:10 +0100 (MET) Received: from cs.berkeley.edu (cadntws26.EECS.Berkeley.EDU [128.32.171.52]) by po.EECS.Berkeley.EDU (8.8.8/8.8.8) with ESMTP id CAA02398 for ; Wed, 28 Oct 1998 02:00:09 -0800 (PST) Message-ID: <3636EEAE.AA8DEED6@cs.berkeley.edu> Date: Wed, 28 Oct 1998 02:15:10 -0800 From: Freddy Mang Organization: U.C.Berkeley X-Mailer: Mozilla 4.02 [en] (WinNT; U) MIME-Version: 1.0 To: caml-list@inria.fr Subject: a question Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: weis Hi, I am trying to write a Tk text widget that emulates a command window, from which the user can type a Caml function and have it executed. One functionality I need from Caml is that, given a string such as "let x = fib 5;;", Caml can parse it and execute it. Is there any way I can get Caml to do this, or am I doing it in a correct way? Many thanks, Freddy