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
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