The urembed package

[Tags: bsd3, program]

Urembed converts a set of FILEs into the Ur/Web modules. Each Module will contain following functions: val binary : unit -> transaction blob val blobpage : unit -> transaction page val text : unit -> transaction string Additionally, FFI signatures will be provided for JavaScript files. In order to enable this, you have to name your JS functions using the name__type scheme. See README for details. Also, uru project uses this a lot. (NOTE: the interface is not stable. Pleas, fork the Urembed sources before using) The master project (specified with -o FILE.urp) will contain a dictionary version of those functions taking the datatype key as an argument, instead of unit. In order to actually compile the binaries, you have to call make -f FILE.mk CC=.. LD=.. UR_INCLUDE_DIR=.. urp Where FILE.mk is the Makefile, generated by urembed. Example: urembed -o static/Static.urp Style.css Script.js make -C static -f Static.mk CC=gcc LD=ld UR_INCLUDE_DIR=usrlocalincludeurweb urp Note: output directory should exist


Properties

Versions0.5.0.0, 0.5.0.1
Dependenciesbase (==4.6.*), bytestring, cake3, directory, filepath, language-javascript (==0.5.*), mime-types, mtl, optparse-applicative, process, syb, text
LicenseBSD3
AuthorSergey Mironov
Maintainergrrwlf@gmail.com
CategoryDevelopment, Ur/Web
Home pagehttp://github.com/grwlf/urembed
Executablesurembed
UploadedThu Oct 31 08:28:35 UTC 2013 by SergeyMironov
Downloads207 total (14 in last 30 days)
StatusDocs available [build log]
Successful builds reported [all 1 reports]

Downloads

Maintainers' corner

For package maintainers and hackage trustees