lua-users home
lua-l archive

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




On Tuesday, April 29, 2014, Rena <hyperhacker@gmail.com> wrote:
On Tue, Apr 29, 2014 at 6:09 PM, Tim Hunter <timhunter100@gmail.com> wrote:

On Apr 28, 2014, at 9:51 PM, Paige DePol <lual@serfnet.org> wrote:

> I do not believe I have ever used a language in which the keywords were also usable for variable names, and after reading that mess above, I don't believe I would ever want to. I would put reuse of keywords right up there with significant whitespace as far as "bad" language features go!

Rexx, at least when I was using it in the late 80's on IBM's VM/CMS. What looked (and acted) like the keyword "if", for example, was a variable with the initial value "if" (eye-eff). You could assign some other value if you wanted to, then assign "if" to some other variable and use it as the "if" keyword instead.



First-class keywords... now there's a new one (to me, at least).

Now how long before someone posts about how Lua should have them?

--
Sent from my Game Boy.

Bug Report: Lua does not support First Class Keywords. 

When is this going to be fixed???

-Andrew