Show HN: JavaScript+Tcl Remote REPL
https://news.ycombinator.com/item?id=20203375I was recently working in extending the Tcl Duktape extension to support calling Tcl procedures from the JavaScript side -- the result is the unholy amalgamation of Tcl+JavaScript which actually turned out to work quite well. I slapped a REPL and then a WebSocket-based access layer onto it and it can be accessed remotely at:
All the Tcl commands are in the "runtime" object.
js> runtime.package.require('sha1')
=> 2.0.3
js> runtime.sha1.sha1('Hello World')
=> 0a4d55a8d778e5022fab701977c5d840bbc486d0