A syntax tree editor for Clojure(Script).
Current status of Stack Editor is mainly for learning and research. If you want to use in you project, use Calcit Editor instead!. Calcit Editor has more details and refinements.
- Stack Editor uses
stack.cirruas snapshot file, which is mostly vectors in Cirru EDN and human-readalbe. - Stack Editor connects server via HTTP, which is a bit harder to be consistent.
- Stack Editor has more code loaded in browser, that makes it available for more analysis.
- Stack Editor has not been actively maintained in the years, fewer features...
npm install -g stack-editorCreate stack.cirru(witn an entry app.main/main!) as snapshot file:
{} (:package |app)
:root $ {} (:ns |main) (:def |main!)
:files $ {}Run editor:
stack-editor stack.cirruFor the UI, it's served at http://repo.cirru.org/stack-editor/?host=localhost&port=7010 with options:
port, defaults to7010, server porthost, defaults to"localhost", server domain
The CLI support options:
op=watch port=7010 extension=.cljs out=src/ stack-editor stack.cirruport, 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 useop=compileto force compiling
MIT


