Kevin Reid
2011-07-05 03:21:43 UTC
I have just made a working, responsive web-page REPL for E, run off the same backend as my rewrite of eel. Said rewrite also now has a working IRC component, and a tested ability to kill hung vats.
The HTTP server end is simply a Java servlet plugged into Jetty in the same way as the Caja test suite does, plus some glue to allow writing a servlet from E.
(It does not support asynchronous output from the server, unfortunately, so no eventual printing or multi-user visibility. I need to research libraries for implementing “comet” features; but in the worst case I can imagine just doing some long-polling using my existing architecture.)
Besides polish and robustness, all we need to do to deploy this is to choose a server to run it on, and drop it behind an Apache reverse-proxy so it can be virtual hosted.
Source code coming soon after some cleanup.
The HTTP server end is simply a Java servlet plugged into Jetty in the same way as the Caja test suite does, plus some glue to allow writing a servlet from E.
(It does not support asynchronous output from the server, unfortunately, so no eventual printing or multi-user visibility. I need to research libraries for implementing “comet” features; but in the worst case I can imagine just doing some long-polling using my existing architecture.)
Besides polish and robustness, all we need to do to deploy this is to choose a server to run it on, and drop it behind an Apache reverse-proxy so it can be virtual hosted.
Source code coming soon after some cleanup.
--
Kevin Reid <http://switchb.org/kpreid/>
Kevin Reid <http://switchb.org/kpreid/>