ocaml-ppx_blob

v 0.9.0 Updated: 2 months, 3 weeks ago

Include a file as a string at compile time

ppx_blob allows you 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.

https://github.com/johnwhitington/ppx_blob

To install ocaml-ppx_blob, paste this in macOS terminal after installing MacPorts

sudo port install ocaml-ppx_blob

Add to my watchlist

Installations 1
Requested Installations 0