Allows the use of part of the language keywords?

Cauterite via Digitalmars-d digitalmars-d at puremagic.com
Sun Aug 28 04:18:59 PDT 2016


On Sunday, 28 August 2016 at 08:25:38 UTC, Basile B. wrote:
> to think that it can be detected with a simple lookup backward 
> (or forward from the KW) is too simplistic.

I'm not saying it'd necessarily be easy to distinguish keyword 
'body' from identifier 'body' in the lexer, I'm just saying a 
'look-behind' feature in a lexer would be trivial to implement.


More information about the Digitalmars-d mailing list