Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
ANNOUNCE: bitmatch 1.0
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: ANNOUNCE: bitmatch 1.0
I'm pleased to announce the first stable release of bitmatch, version 1.0.

We have a NEW home page:

Bitmatch adds Erlang-style bitstring matching and construction syntax
to OCaml.  It makes parsing binary files, formats and protocols
exceptionally simple.  It has numerous features including 1-64 bit
integers, strings, efficient subsets of bitstrings, big- and little-
endianness, signed and unsigned types, variable-width fields, and
fields with arbitrary bit-level alignment.

You might also want to check out our tool virt-df which uses bitmatch
to parse a wide variety of disk formats:

The source code for the diskimage library is a good place to see
bitmatch in real world usage:;manifest=64ac2a858070b95bc02445b9bb966786e84bebe7;path=/lib/

Bitmatch is available under the GNU LGPL version 2 or later with the
usual OCaml linking exception.


Richard Jones
Red Hat