Hi.
I'm thinking about encapsulating some existing javascript libraries in
an Eliom module for the Ocsigen server. I'd therefore like to know if
there is an easy way to dump large files into an OCaml module as raw
strings.
For instance, concerning the ExtJS library, I'd like to know this in
order to build a module that would programmatically provide themes for
this library: you specify colors and trasparancy, and the .gif and .css
files are adapted, while providing all the other .js files as text.
Stuff like that.
So what would be the easiest way to dump files as string into a .cmo, in
your opinion?
--
Guillaume Yziquel
http://yziquel.homelinux.org/