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
[Caml-list] Embedding OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2004-02-21 (02:18)
From: ChoJin <chojin@l...>
Subject: Re: [Caml-list] Embedding OCaml
Richard Jones <rich@annexia.org> writes:

> On Fri, Feb 20, 2004 at 12:54:48PM -0500, Vlad Seryakov wrote:
>> Sure, sorry
>> Module can be downloaded from http://www.crystalballinc.com/vlad/software/
> Ah, I see ... clever!  I'll be borrowing that for mod_caml ...

Or if you want to execute plain ocaml source, maybe you can use the
module Toploop.

For instance, using

Toploop.run_script Format.str_formatter "./foo.ml" [| "./foo.ml" |];;

PS: Btw, why is this module not documented ? I have just discovered it
while reading the cameleon toplevel source code. But I don't find it
in the html documentation.

Best Regards

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