4 ms·
Himera: ClojureScript Compiler Web Service
- MatthewPhillips 15y agoSo... how do we use this?
- jemeshsu 15y agoThis blog post by the author explains the project: http://blog.fogus.me/2012/03/27/compiling-clojure-to-javascript-pt-3-the-himera-model/ http://blog.fogus.me/2012/03/27/compiling-clojure-to-javascr...
- vdm 15y ago@fogus you should put this link on the repl (OP) page. Inspirational work!
- swannodette 15y agoNote that you can use the REPL to interact w/ jQuery: (.-length (js/jQuery "div"))
- jonase 15y agoor maybe even cljs.user> (.css (js/jQuery "body") "background" "cyan")
- ibdknox 15y agoeven better would be to add a few libs to the classpath ;) Then you could have enfocus, jayq, crate ... https://github.com/ckirkendall/enfocus https://github.com/ckirkendall/enfocus https://github.com/ibdknox/jayq https://github.com/ibdknox/jayq https://github.com/ibdknox/crate https://github.com/ibdknox/crate
- fogus 15y agoYou can use core ClojureScript libs too: (clojure.set/intersection #{:a :b :c 1 2 3} #{:a 1 2})
- ibdknox 15y agoBTW, the continuation of working on such an editor/environment, based on the live game editor [1] fogus talks about in his post, is a potential Google Summer of Code project [2] :) [1] http://www.chris-granger.com/2012/02/26/connecting-to-your-creation/ http://www.chris-granger.com/2012/02/26/connecting-to-your-c... [2] http://dev.clojure.org/display/community/Google+Summer+of+Code+2012#GoogleSummerofCode2012-Livegameeditor http://dev.clojure.org/display/community/Google+Summer+of+Co...
- muyuu 15y agoMust keep an eye on this. Blog link here for convenience: http://blog.fogus.me/ http://blog.fogus.me/
- rys 15y agoHilariously off topic, but the background image to the website made me think my computer screen was dirty.