OCaml ppx to include a binary blob from a file as a string. Writing
[%blob "filename"] will replace the string with the contents of the file at
compile time. This allows the inclusion of arbitary, possibly compressed, data,
without the need to respect OCaml's lexical conventions.
The filename can be relative to either the source file where
[%blob] appears, or relative to the current working directory. If both files exist, the former takes precedence.
Requires OCaml 4.02 or above.
make in the top directory. Then run
make in the
Now run the
make install in the top directory once
make has been run.