Re:Advantages of Tcl over Lisp (2005)
by nerpderp83 on Monday October 30, 2017 @10:42AM
(#15585279)
So all func calls are actually calls to eval?
Again TCL kind of has the opposite perspective: all evaluation is text substitution.
apply actually, which is the eval form for functions. Calls a function with a list of arguments
Re:Advantages of Tcl over Lisp (2005)
by convolvatron on Monday October 30, 2017 @11:38AM
(#15585801)
yes, although there are compilers which statically deconstruct as much as they can
No, the point is that almost all TCL values are represented as strings which are also valid literals for those values. This is where the similarity with Lisp comes from: Lisp is a language where the syntax is the representation (you write the AST), whereas TCL is a language where the representation is the syntax (you operate on the string).