File tree Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Expand file tree Collapse file tree 2 files changed +23
-1
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " fluent-spec" ,
33 "description" : " Specification and documentation for Fluent" ,
4- "version" : " 0.2 .0" ,
4+ "version" : " 0.3 .0" ,
55 "private" : true ,
66 "homepage" : " http://projectfluent.io" ,
77 "repository" : {
Original file line number Diff line number Diff line change 22
33## Unreleased
44
5+ - …
6+
7+ ## 0.3.0
8+
59 - Added tags for language-specific grammatical information.
610
711 Tags are binary values attached to messages. They are language-specific and
3539
3640 - Added ` annotations ` and ` span ` to all ` entry ` types.
3741
42+ Spans are ` { start, end } ` productions. Annotations are `{ code, args,
43+ message, span }` productions.
44+
3845 - Allowed more characters in keys.
3946
4047 Variant keys are now trimmed from both sides.
4754
4855 ` Keyword ` is now called ` Symbol ` in ASDL.
4956
57+ - Defined the behavior of backslash escapes as follows:
58+
59+ - Escape sequences are only allowed in ` text ` and ` quoted-text ` .
60+
61+ - Newlines are preserved by the parser. This allows proper serialization.
62+
63+ - Known escape sequences are: ` \\ ` for the literal backslash, ` \" ` for the
64+ literal double quote, ` \{ ` for the literal opening brace and ` \u `
65+ followed by 4 hex digits for Unicode code points. Representing code
66+ points from outside of the Basic Multilingual Plane is made possible with
67+ surrogate pairs (two ` \uXXXX ` sequences). Using the actual character is
68+ encouraged, however.
69+
70+ - Any other escaped characters result in a parsing error.
71+
5072 - Changed the sigil for comments to ` // ` .
5173 - Renamed ` SelectExpression ` 's ` expr ` field to ` expression ` .
5274 - Renamed ` Junk ` 's and ` Comment ` s ` body ` fields to ` content ` .
You can’t perform that action at this time.
0 commit comments