Initial version for Chrome DevTools (CDT) REPL for ClojureScript is now available at the Chrome Web Store. You can now freely install it into your Chrome browser.
Right now it uses ClojureScript to JavaScript compiler, hosted at Heroku. In the upcoming versions it will be possible to change it, and, of course, run compiler locally.
Out of obvious reasons REPL will only work on pages which contain un-optimized JavaScript code.
Extension source code and it's server counterpart will be placed on GitHub in the next days, once they will become more mature.
Future plans and ideas:
All feedback and comments are welcome and highly appreciated.
Right now it uses ClojureScript to JavaScript compiler, hosted at Heroku. In the upcoming versions it will be possible to change it, and, of course, run compiler locally.
Out of obvious reasons REPL will only work on pages which contain un-optimized JavaScript code.
Extension source code and it's server counterpart will be placed on GitHub in the next days, once they will become more mature.
Future plans and ideas:
- improved error reporting
- completion and syntax highlighting
- possibility to inject cljs.core into inspected page, which does not contain it
- deeper integration with Chrome DevTools code editor
All feedback and comments are welcome and highly appreciated.
FYI - I've added your blog to Planet Clojure (only posts labeled as 'clojure')
ReplyDeletethanx!
DeleteThis comment has been removed by the author.
ReplyDeleteAwesome, great work!
ReplyDelete