Scratch-JS icon indicating copy to clipboard operation
Scratch-JS copied to clipboard

Add ClojureScript

Open richgilbank opened this issue 9 years ago • 4 comments

Most likely via https://github.com/kanaka/clojurescript

richgilbank avatar Mar 07 '15 21:03 richgilbank

Hope; via https://github.com/jamesmacaulay/Scratch-JS/tree/cljs

richgilbank avatar Jul 23 '15 03:07 richgilbank

@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 avatar Aug 26 '15 01:08 hzhu

@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:

richgilbank avatar Sep 09 '15 13:09 richgilbank

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));

roman01la avatar Sep 20 '15 12:09 roman01la