lua-users home
lua-l archive

Re: Declared UpValues, change to Parser.

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


> I would actually be interested in trying to see if I can use the
> `ltokenp` library to actually create this kind of scope limitation
> without the parser change, although for my specific case I prefer
> having the compile time error (although maybe `ltokenp` could do that too?).
Any kind of non-local syntactic analysis with ltokenp (beyond counting
matching braces as in assert.lua) is bound to be complicated, but
perhaps keeping track of scopes and names is not too bad.

AltStyle によって変換されたページ (->オリジナル) /