[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Scoped variable *toclose syntax
- From: Roberto Ierusalimschy <roberto@...>
- Date: Thu, 25 Apr 2019 17:47:42 -0300
> Just to clarify - I think it is better to introduce a generic
> annotation capability with a defined syntactic form and
> interpretation, rather than just introducing something specific such
> as '*toclose'. The feature can only be called a generic annotation
> capability if Lua parser was able to skip over unrecognized
> annotations, and if the syntax was expressive enough to be of real
> practical use. This means that some definition of what/where is
> allowed is required.
Just to clarify: we have no intention of introducing a generic
annotation capability to Lua now. We only wanted the syntax to
be such that it could be extended in the future. All we want
is to-be-closed variables.