Hacker News new | past | comments | ask | show | jobs | submit login

Nowadays the upvalues in Lua are bona-fide lexical scoping a-la Scheme or Javascript. However, the name comes from Lua 4.0 where the upvalues worked in a more unusual way. Not in the same way as Tcl though, but just as surprising for the uninitiated.

https://www.lua.org/manual/4.0/manual.html#4.6




Interesting ty, will review.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: