[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: strange table index "end"
- From: Axel Kittenberger <axkibe@...>
- Date: Wed, 9 Mar 2011 16:01:14 +0100
2011/3/9 Pierre-Yves Gérardy <firstname.lastname@example.org>:
> On Wed, Mar 9, 2011 at 15:27, Leo Razoumov <email@example.com> wrote:
>> Out of curiosity, are there languages around that allow keyword tokens
>> to be used as variables, strings, etc ?
> Io doesn't have any keywords. See http://iolanguage.com/about/simplicity/ .
In my opininion, operators should be added to this, there is not much
difference for a key*word* and any special character combination in
regards to language completexity. Everything that the lexer counts as
one token and has a special meaning should be considered a key*word*.
e.g. "~=", ";", "++", etc. This character combinations make things
easy to read in some contexts but harder in others. I've seen too many
suggestions lately trying to some special new operators combinations
just to avoid adding a new "keyword", as it would be much difference.