[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Making Lua lexically scoped (was: Re: Proper tail recursion)
- From: ramsdell@... (John D. Ramsdell)
- Date: 30 Jul 2001 10:02:31 -0400
"Jay Carlson" <firstname.lastname@example.org> writes:
> C looks lexically scoped to me. There aren't nested functions/functions as
> values. What am I missing?
C's lack of nested functions is exactly why C is not lexically scoped.
A variable reference refers to either a local or a global value, a
popular choice for language implementors because of its ease of
implementation. I'm sure you know that C can be compiled into very