Version française
Home     About     Download     Resources     Contact us    
Browse thread
I'm looking for an OCaml book
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: forum@x9c.fr <forum@x...>
Subject: Re: [Caml-list] Reference on the OCaml VM

Le 23 sept. 07 à 23:38, Mathias Kende a écrit :

> Hello
>
> I would like to know if there are references on the OCaml VM other  
> than
> the source code of bytecomp/byterun, I found none on the OCaml  
> website.
> My aim would be to write a small compiler that would target the OCaml
> runtime systems.

While developping OCaml-Java, I had to reverse-engineer this  
information.
I produced two pdf files available at http://cadmium.x9c.fr/ 
downloads.html :
	- caml-formats.pdf describes both the marshalled data format and the  
bytecode file format;
	- caml-instructions.pdf describes all the instructions used by the  
OCaml VM.

Hope this helps,

Xavier


PS: I would be happy to hear about every mistake you find in these  
documents