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
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: 2005-02-07 (17:35)
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