std.d.lexer: pre-voting review / discussion

Jacob Carlborg doob at me.com
Thu Sep 12 00:08:22 PDT 2013


On 2013-09-11 21:57, Piotr Szturmaj wrote:

> Delphi designers realized this problem years ago and they came up with a
> solution:
> http://docwiki.embarcadero.com/RADStudio/XE4/en/Fundamental_Syntactic_Elements#Extended_Identifiers
>
>
> Basically, Delphi allows escaping reserved identifiers with a '&'. I
> wonder how D solves that problem when interfacing to COM classes if they
> have for example a function named "scope".

Scala does it as well: `keyword` if I recall correctly. Seems like you 
can put basically anything between the backticks in Scala.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list