From 235f7137d503eb1ad142c4532e0787f472c6f01e Mon Sep 17 00:00:00 2001 From: VinithKrishnan Date: Tue, 25 Apr 2017 22:14:31 +0530 Subject: [PATCH 1/4] Added links to description of XID_start and XID_continue --- src/identifiers.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/identifiers.md b/src/identifiers.md index de657e3e31..2fa7e50ce1 100644 --- a/src/identifiers.md +++ b/src/identifiers.md @@ -19,6 +19,12 @@ that does _not_ occur in the set of [keywords]. > character ranges used to form the more familiar C and Java language-family > identifiers. +Links to Unicode descriptions: + + * XID_start:http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= + * XID_continue:http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= + + [keywords]: ../grammar.html#keywords [^non_ascii_idents]: Non-ASCII characters in identifiers are currently feature gated. This is expected to improve soon. From 19161afe226cd880b082b8a833193deb038c9d91 Mon Sep 17 00:00:00 2001 From: VinithKrishnan Date: Tue, 25 Apr 2017 22:16:40 +0530 Subject: [PATCH 2/4] Minor changes --- src/identifiers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/identifiers.md b/src/identifiers.md index 2fa7e50ce1..f741300fa9 100644 --- a/src/identifiers.md +++ b/src/identifiers.md @@ -21,8 +21,8 @@ that does _not_ occur in the set of [keywords]. Links to Unicode descriptions: - * XID_start:http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= - * XID_continue:http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= + * `XID_start` :http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= + * `XID_continue` :http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= [keywords]: ../grammar.html#keywords From e8c9a0c9eff3dce877bf16fcebe91ac4027eae15 Mon Sep 17 00:00:00 2001 From: VinithKrishnan Date: Wed, 26 Apr 2017 06:40:11 +0530 Subject: [PATCH 3/4] directly added links to the text itself --- src/identifiers.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/identifiers.md b/src/identifiers.md index f741300fa9..3ceb9f30ca 100644 --- a/src/identifiers.md +++ b/src/identifiers.md @@ -4,27 +4,25 @@ An identifier is any nonempty Unicode[^non_ascii_idents] string of the following Either - * The first character has property `XID_start` - * The remaining characters have property `XID_continue` + * The first character has property [XID_start] + * The remaining characters have property [XID_continue] Or * The first character is `_` * The identifier is more than one character, `_` alone is not an identifier - * The remaining characters have property `XID_continue` + * The remaining characters have property [XID_continue] that does _not_ occur in the set of [keywords]. -> **Note**: `XID_start` and `XID_continue` as character properties cover the +> **Note**: [XID_start] and [XID_continue] as character properties cover the > character ranges used to form the more familiar C and Java language-family > identifiers. -Links to Unicode descriptions: - * `XID_start` :http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= - * `XID_continue` :http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= - +[XID_start]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= +[XID_continue]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= [keywords]: ../grammar.html#keywords [^non_ascii_idents]: Non-ASCII characters in identifiers are currently feature gated. This is expected to improve soon. From f6be9603bb1f0da2c4b35ccbe6ab928df5e7a149 Mon Sep 17 00:00:00 2001 From: VinithKrishnan Date: Wed, 26 Apr 2017 09:04:12 +0530 Subject: [PATCH 4/4] Added backticks --- src/identifiers.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/identifiers.md b/src/identifiers.md index 3ceb9f30ca..3cb80aba4d 100644 --- a/src/identifiers.md +++ b/src/identifiers.md @@ -4,25 +4,25 @@ An identifier is any nonempty Unicode[^non_ascii_idents] string of the following Either - * The first character has property [XID_start] - * The remaining characters have property [XID_continue] + * The first character has property [`XID_start`] + * The remaining characters have property [`XID_continue`] Or * The first character is `_` * The identifier is more than one character, `_` alone is not an identifier - * The remaining characters have property [XID_continue] + * The remaining characters have property [`XID_continue`] that does _not_ occur in the set of [keywords]. -> **Note**: [XID_start] and [XID_continue] as character properties cover the +> **Note**: [`XID_start`] and [`XID_continue`] as character properties cover the > character ranges used to form the more familiar C and Java language-family > identifiers. -[XID_start]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= -[XID_continue]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= +[`XID_start`]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Start%3A%5D&abb=on&g=&i= +[`XID_continue`]: http://unicode.org/cldr/utility/list-unicodeset.jsp?a=%5B%3AXID_Continue%3A%5D&abb=on&g=&i= [keywords]: ../grammar.html#keywords [^non_ascii_idents]: Non-ASCII characters in identifiers are currently feature gated. This is expected to improve soon.