v 0.8.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.


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

sudo port install ocaml-ppx_blob

Add to my watchlist

Installations 2
Requested Installations 1