usagi / cinnamonroll

This is the tool for the CSS that decompiling/compiling to the ".cinnamonroll"/".css" type, wrinte in the haskell use with the Parsec library.
MIT License
2 stars 0 forks source link

cinnamonroll

What's this ?

This is the tool for the CSS that decompiling/compiling to the ".cinnamonroll"/".css" type, wrinte in the haskell use with the Parsec library.

Notes:

How to Run it

In the directory: src/cinnamonroll.lhs

It's the command line tool writen in literate haskell.

Usage for an instant

Decompile to .cinnamonroll from .css

% ./cinnamonroll.lhs -d source.css

Compile to .css from .cinnamonroll

% ./cinnamonroll.lhs -c source.cinnamonroll

Build and Install

Cabal
% cabal clean
% cabal configure
% cabal build
% cabal sdist
% cd dist
% cabal install cinnamonroll-A.B.C.tar.gz

Note: A.B.C is the version number in "cinnamonroll-A.B.C.tar.gz" packaged file.

Manually
% ghc cinnamonroll.lhs
% ln -s `pwd`/cinnamonroll /usr/local/bin/cinnamonroll

Note: you can install to the other path as you like.

Requirement

Use the backend library

In the directory: src/WRP/CSS.hs

This is the library of the "WRP.CSS". The command line tool require it. This is the entity of the software. You can use it if you need for a your haskell programs.

Specification

Digest

.cinnamonroll

(Now Preparing)

Licence

for Software

MIT/X11

for Document

CC-BY/2.1(ja)

Contact