caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* DSL for handling parsing binary memory structures?
@ 2007-05-17 21:21 Richard Jones
  2007-05-17 21:30 ` [Caml-list] " Joel Reymont
                   ` (5 more replies)
  0 siblings, 6 replies; 8+ messages in thread
From: Richard Jones @ 2007-05-17 21:21 UTC (permalink / raw)
  To: caml-list


I wonder if anyone has thought about or developed a domain-specific
language in OCaml for handling the processing of binary structures?

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.

Rich.

-- 
Richard Jones
Red Hat


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2007-06-14 11:52 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-17 21:21 DSL for handling parsing binary memory structures? Richard Jones
2007-05-17 21:30 ` [Caml-list] " Joel Reymont
2007-05-17 21:33 ` Gerd Stolpmann
2007-05-17 23:42 ` Jon Harrop
2007-05-18  7:41 ` Christian Lindig
2007-05-18 14:56   ` Mike Furr
2007-05-18 14:44 ` Markus Mottl
2007-06-14 11:51 ` Richard Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).