Commit c3d06cf
Add bidi support and address UAX31/UTS55 requirements (#884)
* Add bidi support and address UAX31/UTS55 requirements
Adds the bidi strong marks ALM, RLM, and LRM plus the bidi isolate controls LRI, RLI, FSI, and PDI to the syntax.
Formally defines optional vs. non-optional whitespace.
Non-optional whitespace must include at least one whitespace character. Optional whitespace may contain only bidi marks (which are invisible)
* Update syntax.md including text from previous PR
* Repair the guidance on strongly directional marks
Include ALM and better specify how to use the marks.
* Fix formatting of the "important"
* Add bidi characters to description of whitespace.
* Permit bidi in a few more places
Add optional whitespace at the start of `variant`
Add optional whitespace around `quoted-pattern`
These changes result in allowing bidi around keys and quoted patterns as intended.
* Update syntax.md ABNF
* Update formatting.md
- Add a note about the difference between formatting and message syntax.
- Clarify the sentence about message directionality.
* Address comment about name/identifier
* Address comments related to bidi in `name`
* Fix variable's location
* Address comment about the list of LRI/PDI targets
* One character typo :-P
* Update spec/syntax.md
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Address comments about rule R3a-1
* Update spec/syntax.md
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Address comment about U+061C
* Change [o]wsp => `o` or `s`
* Match syntax spec to abnf
* Remove *
* Update syntax.md
* Update spec/syntax.md
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Update spec/message.abnf
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Update spec/message.abnf
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Update syntax.md
* Update spec/message.abnf
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Update spec/syntax.md
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
* Update spec/syntax.md
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>
---------
Co-authored-by: Eemeli Aro <eemeli@mozilla.com>1 parent 80bec52 commit c3d06cf
3 files changed
+175
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | | - | |
| 771 | + | |
| 772 | + | |
| 773 | + | |
| 774 | + | |
| 775 | + | |
| 776 | + | |
| 777 | + | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
772 | 781 | | |
773 | 782 | | |
774 | 783 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
29 | | - | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
0 commit comments