[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Request for clarification on reserved names
- From: Coroutines <coroutines@...>
- Date: Fri, 25 Apr 2014 02:21:40 -0700
I would like it if you could use any name within tables, reserved
words/keywords. But if a keyword appears by itself it is always
interpreted as a keyword.
I'd like to be able to write some_table.end = 3 -- currently not possible :(
If you're emulating an iterator pattern form another language it'd be
nice to have use of 'end'. In C++ they use .begin and .end for
pointer ~stops~
But if you write 'end' by itself it should be interpreted as a keyword
(always). No _ENV = some_table, end = 3. end as a bare word would
always be a keyword -- and the same for all the rest of the reserved
:>
(sorry if this is slightly off-topic, but I wish for this in 5.3)