Hasty Briefsbeta

Bilingual

Wacl – A Tcl Distribution for WebAssembly

6 months ago
  • #JavaScript
  • #Tcl
  • #WebAssembly
  • Tcl distribution for WebAssembly enables embedding a Tcl interpreter in browsers and integrating Tcl with JavaScript.
  • Extends the Emtcl project, adding features like a main tclsh interpreter, event loop, client sockets, and Tcl library modules.
  • Includes extensions such as wacl::dom, tDOM for XML/HTML, json, html, javascript, ncgi, and rl_json.
  • WebAssembly output is smaller and faster than JavaScript, but may not be compatible with older browsers.
  • Building requires Emscripten SDK, make, autoconf, diff, and patch; Windows is not supported.
  • Instructions for building include steps like 'make waclprep', 'make config', 'make all', and 'make install'.
  • A 'make reset' command is available to reset build files, and 'make patch' to recreate patches for changes in Tcl.