Closed Mercerenies closed 2 years ago
Implemented as of c7f7a53. The rules, from parser.lalrpop
:
// A symbol consists of the following, in order:
//
// 1. A starting character
//
// 2. An initial segment of zero or more subsequent characters.
//
// 3. A sequence of zero or more qualifiers, where a qualifier is a
// dot followed by one or more subsequent characters.
//
// The starting character can be an ASCII letter, underscore, tilde,
// plus, equal sign, minus, backslash, forward slash, exclamation
// mark, percent, caret, ampersand, star, less than, greater than,
// question mark, or any Unicode character in the categories L, Mn,
// Nl, No, S, Pc, Pd, Po.
//
// The subsequent characters can be any starting character, an ASCII
// number, or any Unicode character in the category N.
Expand our current definition of identifiers to allow Unicode characters.