weasel
weasel copied to clipboard
ClojureScript browser REPL using WebSockets
When we are trying to instantiate and goog.net.WebSocket object, it breaks with nil/null option. So I pass `false` when params are nil. I also added `deps.edn` to make it simpler...
src/cljs/weasel/impls/websocket.cljs:23 needs to wrap its arguments in an object, per https://google.github.io/closure-library/api/goog.net.WebSocket.html. Currently the code TypeError's on ClojureScript 1.10.773.
What difference between this two libs. I only mentioned that figwheel evaluates code on save and mainly supports lein. Anything else?
``` :repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]} ``` is necessary for the README instructions to work at all.
If you have a weasel-repl open and kill emacs (or close the repl buffer) then the listen-socket for the websocket connection stays open, leading to a `BindException: Address already in...
To reproduce: - Run `lein cljsbuild once` in the example project. - Open a REPL in the example project. - Open `index.html` in a browser. - Switch to the `weasel-example.example`...
When I piggyback into the Weasel REPL, many "false-positive" code analysis warnings are emitted. These are mostly of the form "Referred var some.namespace/var-name does not exist," but other similar warnings...
Qt 5.3 added a QtWebsockets module which makes Weasel the perfect candidate for a QML/JS Clojurescript repl. I added a weasel.repl.qml namespace which tries to mirror weasel.repl as much as...
We could use `(ex-data)` et al. to produce a nicer message than what `(pr-str)` gives. Also the stack trace for them isn't particularly useful.