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 WAA23081; Thu, 16 May 2002 22:39:36 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id WAA23091 for caml-list@pauillac.inria.fr; Thu, 16 May 2002 22:39:35 +0200 (MET DST) 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 WAA22541 for ; Thu, 16 May 2002 22:11:36 +0200 (MET DST) X-SPAM-Warning: Sending machine is listed in blackholes.five-ten-sg.com Received: from mel-rto1.wanadoo.fr (smtp-out-1.wanadoo.fr [193.252.19.188]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g4GKBa118740 for ; Thu, 16 May 2002 22:11:36 +0200 (MET DST) Received: from mel-rta9.wanadoo.fr (193.252.19.69) by mel-rto1.wanadoo.fr (6.5.007) id 3CDF99CD00027970 for caml-list@pauillac.inria.fr; Thu, 16 May 2002 22:11:36 +0200 Received: from desktop (80.14.119.141) by mel-rta9.wanadoo.fr (6.5.007) id 3CDF7CA4002960D4 for caml-list@pauillac.inria.fr; Thu, 16 May 2002 22:11:35 +0200 Date: Thu, 16 May 2002 22:23:11 +0200 From: Coletta =?ISO-8859-1?B?UultaQ==?= To: caml-list@pauillac.inria.fr Subject: Re: [Caml-list] # eval line; (?) Message-Id: <20020516222311.6d9d36dc.remi.coletta@free.fr> In-Reply-To: References: X-Mailer: Sylpheed version 0.7.4 (GTK+ 1.2.10; i386-debian-linux-gnu) X-Face: 'qY4E@i++^G!`HF7V){^oT`,H')qOT\,7=b'|td8qK>yzWj84m(8W%5Hr_;$rsMKqftP~xM ab_yLF&Q+d|Z0cGP45S\pRih5J28&@wQ*LjJ(]o0V8ia:S]N-2szP}9[^L>p31edc\\r>0XZ]~>?MXf'_9?Dsf]t%3*=-N3< Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk On Fri, 10 May 2002 15:39:50 -0500 "Gurr, David (MED, self)" wrote: > >I think that there is a small catch. I think that the definition of >eval is correct, but that if you use it in a toplevel loop, then it >will fail because of the parser not reenterant. -D > Exactly, But i don't know if someone has post a solution (because the archive page http://caml.inria.fr/archives/200205/threads.html look's like not to be refresh :-( I've got 2 process: - the first one write into a fffo expression like "{tab = [| 1;1 |]; valeur = false}" - the second one has to read this expression... I think this can be do by a "hand-made parser" but an "Lisp-like" "eval" were a good idea. PS: please, excuse my english speaking :-( -- Remi COLETTA www.coletta.free.fr .-. /v\ TUX // \\ POWERED /( )\ ^^-^^ ------------------- 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