A simple client-side code evaluator pluggable on any web page: clojure, ruby, javascript, python, scheme, es2017, jsx, brainfuck, c++, reagent
Clojure JavaScript Other
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources/public
scripts
src/klipse
test
.gitignore
README.md
circle.yml
index.html
project.clj
tutorial.md

README.md

KLIPSE Circle CI

KLIPSE is live here.

And it looks like this:

KLIPSE screenshot

Basically, KLIPSE is made of 4 rectangles:

  1. Top left rectangle: you insert your cljs code
  2. Top right rectangle: you see the generated javascript code from the cljs code
  3. Bottom left rectangle: you see the evaluation of the cljs code as a clojure object
  4. Bottom right rectangle: you see the evaluation of the cljs code as a js object

By the way, if you go to this KLIPSE with clojure code, you will be able to modify the code of see it in action.

Have fun!

Usage

Here is an introductory blog post: KLIPSE: why? what? how?

Insert your code in the top left area. Press Ctrl-Enter to evaluate.

Run Locally

rlwrap lein figwheel

or

lein figwheel

Open the browser http://localhost:5014/index-dbg.html

Run dev-card

rlwrap lein figwheel devcards

or

lein figwheel devcards

Open the browser http://localhost:5014/cards.html

Tutorial

Read KLIPSE Magic to discover how we made KLIPSE.

Deploy to Production

####1. Build

lein clean
lein cljsbuild once dev

####2. Test

Test that dev build works properly =>

####3. Deploy to Google Storage

Make sure gsutil is installed.

./scripts/deploy