Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: Vincenzo Ciancia <vincenzo_yahoo_addressguard-gmane@y...>
Subject: Re: OCaml expression evaluated in a OCaml program
Jon Harrop wrote:

> I've done exactly this though, by spitting out an ocaml program, compiling
> it with ocamlopt (linked against the running program) and invoking it
> using marshalling to shuffle data back and forth. This is quite easy to
> implement and is the simplest way to write a JIT compiler in ocaml.

I believe there are "eval" implementations in the humps or around on the net
- there are also on-the-fly compilers and loaders.


Please note that I do not read the e-mail address used in the from field but
I read vincenzo_ml at yahoo dot it
Attenzione: non leggo l'indirizzo di posta usato nel campo from, ma leggo
vincenzo_ml at yahoo dot it