Version française
Home     About     Download     Resources     Contact us    
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: -- (:)
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
ChoJin

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