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.cirru
as snapshot file, which is mostly vectors in Cirru EDN and human-readalbe.npm install -g stack-editor
Create stack.cirru
(witn an entry app.main/main!
) as snapshot file:
{} (:package |app)
:root $ {} (:ns |main) (:def |main!)
:files $ {}
Run editor:
stack-editor stack.cirru
For the UI, it's served at http://repo.cirru.org/stack-editor/?host=localhost&port=7010 with options:
port
, defaults to 7010
, server porthost
, defaults to "localhost"
, server domainThe CLI support options:
op=watch port=7010 extension=.cljs out=src/ stack-editor stack.cirru
port
, defaults to 7010
, server port corresponding to the UI partextension
, defaults to ".cljs"
, file extension of the generated filesout
, defaults src/
output folderop
, defaults to watch
, or you may use op=compile
to force compilingMIT