A collabrative syntax tree editor of Clojure(Script).
HTML Clojure CSS
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

README.md

Calcit Editor

npm

A collabrative syntax tree editor of Clojure(Script).

Guide

Run editor:

npm i -g calcit-editor
calcit-editor
# open http://calcit-editor.cirru.org/?port=6001

Run in command line Files browser Expression editor

Options

To run editor with options:

port=6001 calcit-editor

There are several options to configure:

  • port, defaults to 6001
  • output, defaults to src/
  • extension, defaults to .cljs

Those options are also stored in the snapshot file calcit.edn.

To compile code at once from existing calcit.edn:

op=compile calcit-editor

The UI part takes options too:

http://calcit-editor.cirru.org/?host=localhost&port=6001
  • port, defaults to 6001
  • host, defaults to localhost

By default, ClojureScript will be emitted in src/. When server is stopped with Ctrl c, a calcit.edn will be generated.

Set local to enable local version of web editor:

client=local calcit-editor
; serving app at http://localhost:6101

Workflow

Based on https://github.com/Cumulo/cumulo-workflow

License

MIT