(bootstrap)
Reusable browser REPL bootstrapping. Patches the essential functions in goog.base to support re-loading of namespaces after page load.
(connect repl-server-url)
Connects to a REPL server from an HTML document. After the connection is made, the REPL will evaluate forms in the context of the document that called this function.
(evaluate-javascript conn block)
Process a single block of JavaScript received from the server
(send-print url data)
(send-print url data n)
Send data to be printed in the REPL. If there is an error, try again up to 10 times.
(start-evaluator url)
Start the REPL server connection process. This process runs inside the embedded iframe.