From retroj: the question came up--what about connecting to the repl without
emacs? it would be nice to have a bare bones javascript evaluation repl without
protocol wrappers around every message. I think a good solution to this would be
to make the protocol encoder/decoder functions changeable on a per-connection
basis. Thus you could have multiple connections, each communicating with a
different protocol, but translating at the conkeror end to a common
(aforementioned json) format. One such protocol could be one that marked all
incoming messages for Evaluation, and sent results of the evaluation back bare. |