4 ms·
That’s a really good comparison! Lua has real types in a dynamic language; in Tcl everything is a string. They can both pass functions around, but Tcl’s work
by brians 6y ago
That’s a really good comparison!
Lua has real types in a dynamic language; in Tcl everything is a string.
They can both pass functions around, but Tcl’s work by “eval” all the time—so security is quite tricky. Lua has real higher order functions.
Lua has lexical scope. In fact, by semantics it’s almost a Scheme dialect (say, R4RS) with extraordinary syntax.
- Symmetry 6y agoScheme in ALGOL's clothing, with the lists swapped out for hash tables is how I sometimes describe it.