OCaml Bitstring - bitstring matching for OCaml
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
ppx
src
tests
.gitignore
.travis.yml
COPYING
COPYING.LIB
README.md
README.orig
bitstring.opam

README.md

OCaml Bistring Library

PLEASE NOTE !!

The repository has been moved here: https://bitbucket.org/thanatonauts/bitstring

Build Status

Copyright (C) 2008-2016 Red Hat Inc, Richard W.M. Jones.
Copyright (C) 2016-2018 Red Hat Inc, Richard W.M. Jones, Xavier R. Guerin.

The original README content can be found in the README.orig file.

Documentation

The documentation is located here.

How to install

opam install bitstring

How to use

Ocamlfind

ocamlfind c -package bitstring -package bitstring.ppx -linkpkg ...

Jbuilder

(jbuild_version 1)

(executable
 ((name        foo)
  (libraries   (bitstring))
  (preprocess  (pps (bitstring.ppx)))
  ))

How to build

bitstring version 3 requires OCaml >= 4.02.3.

Dependencies

  • str
  • unix
  • compiler-libs
  • ppx_tools_versioned
  • ocaml-migrate-parsetree

Building the project

$ jbuilder build

Running the tests

$ jbuilder runtest

Appreciation

Tokens of appreciation are gladly accepted in the form of virtual coffee.

License

The library is licensed under the LGPL v2 or later, with the OCaml linking exception. See the file COPYING.LIB for full terms. Programs are licensed under the GPL v2 or later. See the file COPYING for full terms. All examples and tests are public domain.