Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Compiling a native code OCaml library into an .so?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Oleg Trott <oleg_trott@c...>
Subject: [Caml-list] Caml as C-- (was: Compiling a native code OCaml library into an .so?)
On Wednesday 19 November 2003 10:33 pm, Kamil Shakirov wrote:
> > Am I missing any serious difficulties here? Are there any plans to add
> > something like this to OCaml?
>
> Look at the http://www.boblycat.org/~malc/scaml/

Things like this make me wonder how people outside of INRIA understand the 
inner workings of Caml compiler (enough to modify it). Just  guessing by 
looking at the rather sparcely commented source? Or is there anything else?

In particular, I'm curious if parts of Caml compiler, such as "asmcomp", could 
be used as a sort of C--, i.e. a weakly typed backend for another language, 
especially if the language itself is written in Caml.

TIA
-- 
Oleg Trott <oleg_trott@columbia.edu>

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