[Ur] ANNOUNCE urembed - file-to-urp converter
Sergey Mironov
grrwlf at gmail.com
Wed Aug 28 12:03:56 EDT 2013
Hi. I'm glad to announe Urembed.
https://github.com/grwlf/urembed
This tool embeds file(s) into the Ur/Web project by creating the
module containing
datatype content = File_A | File_B ...
val binary : content -> transaction blob
typical usage is
$ urembed -o lib/autogen/Static.urp Style.css Script.js
Additionally, Urembed simplifies the usage of JavaScript FFIs by
writing signatures for all top-level JavaScript functions from FILE.js
to FILE_js.urs.
Haskell platform (plus a couple of packages from Hackage) and POSIX
environment are required.
Regards,
Sergey
More information about the Ur
mailing list