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
Compiling to OCaml bytecode
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-09-13 (06:19)
From: Mackenzie Straight <eizneckam@g...>
Subject: Re: [Caml-list] Compiling to OCaml bytecode
On 9/12/05, Jon Harrop <jon@ffconsultancy.com> wrote: 
> > > Does the OCaml distribution expose everything needed to do this?
> >
> > No.
> Damn.
> A ".cmo" is just a marshalled data structure though, right? So could I spit
> those out and then dynlink them back in?

You may want to take a look at the modules under bytecomp/ --
specifically: Instruct, Meta, Emitcode. But really, MetaOCaml can
probably do what you want (and now supports native code on x86)...