English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
AGI research using ocaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2010-03-13 (15:56)
From: Andre Nathan <andre@d...>
Subject: Re: [Caml-list] AGI research using ocaml
On Sat, 2010-03-13 at 17:39 +0200, Eray Ozkural wrote:
> Thanks for the suggestion. Perhaps it is possible to use the toplevel
> on a string based file? Then, there wouldn't be the I/O overhead at
> least, just buffering overhead. For some reason I can't find the
> documentation for this. It's weird. :/ I used to write ocaml libraries
> back in 2002 and still not an ocaml hacker! Heh :)


Yes, you can find an "eval" function here, which uses


The docs for Toploop are in toplevel/toploop.mli in the OCaml source.