cirru-writer
v0.3.11
Published
Convert JSON representation to Cirru code
Downloads
28
Readme
Cirru Writer
Converts Cirru AST (which is in JSON) to formatted Cirru code.
Read cirru/
for demos of that compiled from ast/
.
Demo: http://repo.cirru.org/writer/
Usage
npm install --save cirru-writer
render
{render} = require 'cirru-writer'
cirru = render [['cirru']]
# render :: JSON -> String
Development
Run through all tests:
cirru-script test.cirru
Compile code before sending to npm:
# officially gulp is not support CirruScript
# but by updating node-interpret you may run
gulp script
License
MIT