Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Dynamically evaluating OCaml code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Christophe TROESTLER <debian00@t...>
Subject: Re: [Caml-list] Dynamically evaluating OCaml code
On Wed, 7 Apr 2004, John Goerzen <jgoerzen@complete.org> wrote:
> 
> [...] I'm looking at being able to let people insert OCaml
> expressions directly into otherwise plain-text config files.

Maybe 

Toploop.execute_phrase :
  bool -> Format.formatter -> Parsetree.toplevel_phrase -> bool

may help you but it lacks a bit of doc (I think some time ago the
question was asked on the ML, so checking the archives may be useful).

My 2¢,
ChriS

-------------------
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