|
Hi,
Is there a syntax extension that allows a string to be assigned the contents
of a file? So instead of doing
let str = "very long string"
one would just
let str = #include "file.txt" (* or something like this *)
where file.txt would contain a "very long string". I've looked in the
Hump,
but there doesn't seem to be anything that matches this description. Also,
I know the same functionality can be implemented via the C-interface by
linking in a binary object, but that's overkill for my purposes.
Thanks in advance!
cheers,
Dario Teixeira
|