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.
