News for hackers. Stuff that matters.
Re:Visual Tcl by skissane on Wednesday January 27, 2021 @05:56AM (#25926667)
I assume the plugin is just running Tcl/Tk inside a browser window.

I wonder how hard it would be to recreate the same idea using Emscripten drawing to a HTML canvas?

People have gotten Tcl to work on Emscripten [0]. I think the big problem is the Tk part. Tk has X11, Win32 and macOS backends, but emscripten supports SDL, for which there is no Tk backend.

[0] https://github.com/aidanhs/emtcl

Re:Visual Tcl by blacksqr on Wednesday January 27, 2021 @10:32AM (#25929397)
The Projected Tk project aims to recreate Tk with a pluggable backend structure, with a web browser backend one goal.

https://chiselapp.com/user/gwlester/repository/PTK/home

Re:Visual Tcl by swiley on Wednesday January 27, 2021 @07:34AM (#25927430)
There is an SDL backend for Tk but it's not part of the normal distribution:

http://androwish.org/home/home