Re:Wacl: Tcl distro customized for WebAssembly
by eggy on Sunday April 30, 2017 @01:27AM
(#14230273)
I am now looking at the Red programming language [1] for exactly this, but it does not have the libraries of C++ or Tcl. Still it is under 1 meg complete with libraries and it is homoiconic, cross-platform, and has a REPL and a systems language Red/System for going low level. The GUI and UI DSL and drawing DSL work on Windows and Mac for now, with Linux close behind.
[1] http://www.red-lang.org/p/about.html
Re:Wacl: Tcl distro customized for WebAssembly
by mappu on Sunday April 30, 2017 @01:42AM
(#14230298)
There's also Lazarus in this category.
Re:Wacl: Tcl distro customized for WebAssembly
by deckiedan on Sunday April 30, 2017 @08:45AM
(#14231282)
The default download didn't have GUI support on my Mac when I just tried it, and the documentation seems to indicate it's Windows only so far?
@mappu above (no reply link by his reply):
I like Lazarus a lot. I am not a fan of Pascal though, and Red is under 1 MB batteries included. I like how it seems a cross between Lisp, Forth and other languages.
I think it is in 0.63 or the latest binary now available. I'll check on my iMac later and get back to you. I use it on my Windows box for now.
Compared to Tcl/tk you get (A) catch errors at compile time, and (B) Qt apps usually look better than Tk apps.
With mxe+qmake it's one command to cross-compile from Linux to a Windows binary.