Version française
Home     About     Download     Resources     Contact us    
Browse thread
OCaml expression evaluated in a OCaml program
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Brock <rbw3@c...>
Subject: Re: [Caml-list] OCaml expression evaluated in a OCaml program

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