Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xguerin/bitstring
OCaml Bitstring - bitstring matching for OCaml
https://github.com/xguerin/bitstring
bitstring ocaml
Last synced: about 1 month ago
JSON representation
OCaml Bitstring - bitstring matching for OCaml
- Host: GitHub
- URL: https://github.com/xguerin/bitstring
- Owner: xguerin
- License: gpl-2.0
- Created: 2016-09-26T15:33:59.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-03-27T07:51:09.000Z (9 months ago)
- Last Synced: 2024-03-27T08:53:17.216Z (9 months ago)
- Topics: bitstring, ocaml
- Language: OCaml
- Size: 5.64 MB
- Stars: 65
- Watchers: 2
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# OCaml Bitstring Library
[![Build Status](https://travis-ci.org/xguerin/bitstring.svg?branch=master)](https://travis-ci.org/xguerin/bitstring)
```
Copyright (C) 2008-2016 Red Hat Inc, Richard W.M. Jones.
Copyright (C) 2016-2022 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](https://bitstring.software).
## How to install
```
opam install bitstring
opam install ppx_bitstring
```
## How to use### Ocamlfind
```
ocamlfind c -package bitstring -package ppx_bitstring -linkpkg ...
```
### Dune
```lisp
(executable
((name foo)
(libraries (bitstring))
(preprocess (pps (ppx_bitstring)))
))
```
## How to build### Dependencies
Required packages are detailed in the `dune-project` file.
### Building the project
```
$ dune build
```
### Running the tests
```
$ dune runtest
```
## LicenseThe 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.