3 ms·
TCL is kind of like Lisp with strings instead of s-expressions, if you squint at it right and hold your nose. All evaluation is simply text substitution. But T
by DonHopkins 7y ago
TCL is kind of like Lisp with strings instead of s-expressions, if you squint at it right and hold your nose. All evaluation is simply text substitution.
But TCL is not nearly as powerful or efficient as Lisp.
TCL's historic advantages (which were unique and important in 1988) are that it's free, easy to integrate with C code, and it comes with a nice user interface toolkit: Tk, which also has a great interactive canvas drawing api.
Tk is nice because it was designed around TCL from day one, which vastly simplified its design, since it didn't suffer from Greenspun's tenth rule like most GUI toolkits do, because it already had half of Common Lisp: TCL.
https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule
>Any sufficiently complicated C or Fortran program contains an ad-hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp.
Advantages of Tcl over Lisp (2005) (tcl.tk)
https://wiki.tcl-lang.org/page/Advantages+of+Tcl+over+Lisp https://wiki.tcl-lang.org/page/Advantages+of+Tcl+over+Lisp
https://news.ycombinator.com/item?id=15578238 https://news.ycombinator.com/item?id=15578238