Deprecated, use Calcit Editor instead!.
Stack Editor
A structured editor of Clojure(Script).
Usage
npm install -g stack-editor
Create stack.cirru
:
Run editor:
stack-editor stack.cirru
Options
For the UI part of the editor, it's based on the address:
http://repo.cirru.org/stack-editor/?host=localhost&port=7010
port
, defaults to7010
, server porthost
, defaults to"localhost"
, server domain
For the server part, is an npm command line:
op=watch port=7010 extension=.cljs out=src/ stack-editor stack.cirru
port
, defaults to7010
, server port corresponding to the UI partextension
, defaults to".cljs"
, file extension of the generated filesout
, defaultssrc/
output folderop
, defaults towatch
, or you may usecompile
to force compiling
Develop
Project template https://github.com/mvc-works/stack-workflow
Read developer guide for more.
License
MIT