3 ms·
Lua has something called an "upvalue" but it's a completely different thing. Lobster[0] also lets you write do/while loops and new conditionals, but does that
by beagle3 11y ago
Lua has something called an "upvalue" but it's a completely different thing.
Lobster[0] also lets you write do/while loops and new conditionals, but does that in a different way that does not require upvar/uplevel, and is IMHO cleaner. (It is less capable in general, but captures 99% of the use cases that I've seen for upvar/uplevel in Tcl)
It is indeed Tcl, but it IS an acronym for "Tool Command Language", or at least started out that way.
[0] http://strlen.com/lobster http://strlen.com/lobster
- sigzero 11y agoThe acronym is true but the community uses Tcl now and has for quite a while.
- amyjess 11y agoStuff like this intrigues me, from a linguistic perspective. I'm really curious what lead to the community settling on this. You'll occasionally see all-lowercase in some projects thanks to the fact that *nix commands are usually all-lowercase, but title-casing an acronym is weird. If I had to hazard a guess, I'd say it's because "Tcl" is typically pronounced as a word ("tickle"), so it got de-acronymized like "radar" or "scuba". Then again, nobody writes SCSI as Scsi. I'd love to study this some more...
- davidw 11y agoMy guess: it's kind of a fashion thing. FORTRAN and COBOL and FORTH and whatnot are a bit old fashioned looking. https://en.wikipedia.org/wiki/Fortran#Naming https://en.wikipedia.org/wiki/Fortran#Naming