Git Product home page Git Product logo

stack-editor's Introduction

Stack Editor

A syntax tree editor for Clojure(Script).

Different from Calcit Editor

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.cirru as 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...

Usage

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

Files Workspace Dependency tree

Options

For the UI, it's served at http://repo.cirru.org/stack-editor/?host=localhost&port=7010 with options:

  • port, defaults to 7010, server port
  • host, defaults to "localhost", server domain

The 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 part
  • extension, defaults to ".cljs", file extension of the generated files
  • out, defaults src/ output folder
  • op, defaults to watch, or you may use op=compile to force compiling

License

MIT

stack-editor's People

Contributors

dependabot[bot] avatar noegam avatar soyaine avatar tiye avatar tmono avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

stack-editor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.