[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Reserved keywords
- From: Daniel Silverstone <dsilvers@...>
- Date: Tue, 25 Nov 2003 17:09:03 +0000
On Tue, 2003-11-25 at 16:54, Grisha wrote:
> Not quite true. These languages don't have such 'syntatic sugar' things.
> IMHO, if a.b is just a syntatic sugar for a["b"] it must work exactly the
> same way.
I think you're missing the point that the syntactic sugar is of them
IDLEXEME1 '.' IDLEXEME1
<=functionally equivalent to=>
IDLEXEME '[' STRINGIFY(IDLEXEME2) ']'
'else' 'if' 'do' etc are not IDLEXEMEs and as such, don't fit the syntax
Daniel Silverstone http://www.digital-scurf.org/
Hostmaster, Webmaster, and Chief Code Wibbler: Digital-Scurf Unlimited
GPG Public key available from keyring.debian.org KeyId: 20687895