Ralf Hinze wrote:
>
>    * make '_' lexically a valid identifier character anywhere
>    * but disallow identifiers starting with '_'
> 
> Thus '___' would lex as '___' but then be rejected. '_' on its own remains a
> wild-card pattern, and illegal in expressions.
> 
> 
> ] `_' is a special case whatever option one chooses. So I can see no real
> ] advantage in disallowing identifiers starting with '_'.

IMHO the simplest rule would be to allow '_' anywhere a lowercase letter
is
allowed. And "_" becomes just an ordinary keyword.

Cheers,
        - Andreas


Reply via email to