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

--eiz