From: Robert Griesemer
-Lower-case production names are used to identify lexical tokens.
+Lowercase production names are used to identify lexical tokens.
Non-terminals are in CamelCase. Lexical tokens are enclosed in
double quotes ""
or back quotes ``
.
-Each code point is distinct; for instance, upper and lower case letters +Each code point is distinct; for instance, uppercase and lowercase letters are different characters.
@@ -96,13 +96,13 @@ A byte order mark may be disallowed anywhere else in the source.
-The following terms are used to denote specific Unicode character classes: +The following terms are used to denote specific Unicode character categories:
newline = /* the Unicode code point U+000A */ . unicode_char = /* an arbitrary Unicode code point except newline */ . -unicode_letter = /* a Unicode code point classified as "Letter" */ . -unicode_digit = /* a Unicode code point classified as "Number, decimal digit" */ . +unicode_letter = /* a Unicode code point categorized as "Letter" */ . +unicode_digit = /* a Unicode code point categorized as "Number, decimal digit" */ .
@@ -115,7 +115,7 @@ as Unicode letters, and those in the Number category Nd as Unicode digits.
-The underscore character _
(U+005F) is considered a letter.
+The underscore character _
(U+005F) is considered a lowercase letter.
letter = unicode_letter | "_" . @@ -406,7 +406,7 @@ An imaginary literal represents the imaginary part of a complex constant. It consists of an integer or floating-point literal -followed by the lower-case letteri
. +followed by the lowercase letteri
. The value of an imaginary literal is the value of the respective integer or floating-point literal multiplied by the imaginary unit i. @@ -2246,8 +2246,8 @@ An identifier may be exported to permit access to it from another package An identifier is exported if both:-
- the first character of the identifier's name is a Unicode upper case - letter (Unicode class "Lu"); and
+- the first character of the identifier's name is a Unicode uppercase + letter (Unicode character category Lu); and
- the identifier is declared in the package block or it is a field name or method name.
@@ -2761,8 +2761,8 @@ It is shorthand for a regular variable declarat with initializer expressions but no types: --"var" IdentifierList = ExpressionList . ++"var" IdentifierList "=" ExpressionList .