lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


"Jay Carlson" <nop@nop.com> writes:

> > Are you asking if a language can have both lexically scoped and
> > dynamically scoped variables at the same time?  Yes, this is true, but
> > a language that allows some dynamic variables is not considered to be
> > static or lexically scoped.
> 
> I don't buy this.  I'm thinking of Oaklisp, which had fluid-let and (fluid
> variablename) locatives.  Does Oaklisp lose its lexical-scoping-nature
> because of the fluid stuff, which is clearly an add-on after the fact?  (I
> believe it was implemented in terms of dynamic-wind.)

I don't have a strong opinion on this, so whatever.

John