remove equals section

This commit is contained in:
Kat Marchán 2024-11-26 23:41:02 -08:00
parent 1e40ac66a4
commit 4881523a9c
No known key found for this signature in database
GPG Key ID: AEB529C08A3C7E9E
2 changed files with 2 additions and 14 deletions

View File

@ -59,10 +59,6 @@
whitespace matching the whitespace prefix of the closing line. Multiline whitespace matching the whitespace prefix of the closing line. Multiline
strings and raw strings now must have a newline immediately following their strings and raw strings now must have a newline immediately following their
opening `"`, and a final newline plus whitespace preceding the closing `"`. opening `"`, and a final newline plus whitespace preceding the closing `"`.
* SMALL EQUALS SIGN (`U+FE66`), FULLWIDTH EQUALS SIGN (`U+FF1D`), and HEAVY
EQUALS SIGN (`U+1F7F0`) are now treated the same as `=` and can be used for
properties (e.g. `お名前=☜(゚ヮ゚☜)`). They are also no longer valid in bare
identifiers.
* `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and * `.1`, `+.1` etc are no longer valid identifiers, to prevent confusion and
conflicts with numbers. conflicts with numbers.
* Multi-line strings' literal Newline sequences are now normalized to single * Multi-line strings' literal Newline sequences are now normalized to single

12
SPEC.md
View File

@ -112,8 +112,8 @@ my-node 1 2 \ // comments are ok after \
### Property ### Property
A Property is a key/value pair attached to a [Node](#node). A Property is A Property is a key/value pair attached to a [Node](#node). A Property is
composed of a [String](#string), followed immediately by an [equals composed of a [String](#string), followed immediately by an equals sign (`=`, `U+003D`),
sign](#equals-sign), and then a [Value](#value). and then a [Value](#value).
Properties should be interpreted left-to-right, with rightmost properties with Properties should be interpreted left-to-right, with rightmost properties with
identical names overriding earlier properties. That is: identical names overriding earlier properties. That is:
@ -131,14 +131,6 @@ still be spec-compliant.
Properties _MAY_ be prefixed with `/-` to "comment out" the entire token and Properties _MAY_ be prefixed with `/-` to "comment out" the entire token and
make it act as plain whitespace, even if it spreads across multiple lines. make it act as plain whitespace, even if it spreads across multiple lines.
#### Equals Sign
Only the following character may be used as equals signs in properties:
| Name | Character | Code Point |
|----|-----|----|
| EQUALS SIGN | `=` | `U+003D` |
### Argument ### Argument
An Argument is a bare [Value](#value) attached to a [Node](#node), with no An Argument is a bare [Value](#value) attached to a [Node](#node), with no