Javascript REPL
summary
A tiny REPL that live-sends JavaScript into a browser page via a bookmarklet and a local WebSocket server, implemented with the Google Wave websocket client library. Messages are simple JSON map {op: "eval", code: "..."}; the server async-evals and returns results. Demo replaces functions in a D3 visualization on the fly, uses a small flashing UI effect borrowed from Sam Aaron, is only a few hundred lines, mostly works, and needs packaging and minor edge-case parsing for top-level JavaScript forms.
AI-written summary · about
