3 ms·
How about exposing an API for dev tools similar to the "swank" protocol that Emacs uses for editing Lisp code? I know there are people doing stuff like this alr
by thurn 14y ago
How about exposing an API for dev tools similar to the "swank" protocol that Emacs uses for editing Lisp code? I know there are people doing stuff like this already, but it would obviously be a lot easier if there were a nice protocol for it (ideally standardized across browsers...). I want to be able to seamlessly interact with a running Firefox instance from my editor or IDE, sending it snippets of code to evaluate and seeing my page change in real-time.
- tikhonj 14y agoNot only are people doing this, but they're doing it with swank (as far as I know). Check out swank-js[1]. There is a really cool demo of on EmacsRocks[2]. [1]: https://github.com/swank-js/swank-js https://github.com/swank-js/swank-js [2]: http://emacsrocks.com/e11.html http://emacsrocks.com/e11.html But yeah, some sort of more official or maybe more extensive support would be pretty cool too.
- ibdknox 14y agoJust FYI: You can do exactly this with the latest Light Table[1]. :) [1]: http://www.chris-granger.com/2013/02/27/light-table-030-experience/#toc_67 http://www.chris-granger.com/2013/02/27/light-table-030-expe...
- paulrouget 14y agoThat's interesting. I'll look at that. Thanks.
- grayrest 14y agoIf using swank is impractical, the Clojure community is in the process of shifting from swank to nrepl. I haven't looked into the details of either but wanted to point out another option.