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
DSL for handling parsing binary memory structures?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2007-05-17 (23:47)
From: Jon Harrop <jon@f...>
Subject: Re: [Caml-list] DSL for handling parsing binary memory structures?
On Thursday 17 May 2007 22:21:57 Richard Jones wrote:
> I was thinking of writing something to make system calls into the Xen
> hypervisor.  The main problem is that the hypervisor takes & returns
> binary structures which have very precise size / alignment
> requirements, bitfields, etc. (and the requirements change with
> versions of the hypervisor).  It sounds like the ideal use for a DSL
> to describe the binary structure of each version of each call and
> automatically build accessors.

I think XenSource sell a toolstack for Xen that is written in OCaml. So you 
might start there.

Dr Jon D Harrop, Flying Frog Consultancy Ltd.
The F#.NET Journal