Scratch-JS
Scratch-JS copied to clipboard
Add ClojureScript
Most likely via https://github.com/kanaka/clojurescript
Hope; via https://github.com/jamesmacaulay/Scratch-JS/tree/cljs
@richgilbank @jamesmacaulay what's the status of this? Especially since clojurescript can now compile itself? http://swannodette.github.io/2015/07/29/clojurescript-17/
@hzhu I haven't really taken a look at it yet myself - want to try it out yourself? Looks like https://github.com/clojure/clojurescript/wiki/Optional-Self-hosting is a good starting point to get a self-contained build :smile:
Hello! This would be very cool. I've made compiled CLJS package for JS Bin (https://github.com/roman01la/jsbin-cljs), but it will work anywhere.
Usage example:
jsbin_cljs.core.eval_expr(code, (err, output) => err ? console.error(err) : eval(output));