More tweaks and repairs
This commit is contained in:
parent
53e15bc46c
commit
0f08461ccc
|
@ -31,7 +31,7 @@ class="postcard-grammar binarysyntax">*V*</span>.
|
|||
| | <span class="outputish">(*n* & 127) | 128</span> **varint**(*n* >> 7) | if *n* ≥ 128
|
||||
|
||||
{:.postcard-grammar.binarysyntax}
|
||||
**intbytes**(*n*) | = | *the empty byte sequence* | if *n* = 0
|
||||
**intbytes**(*n*) | = | <span class="roman">(the empty sequence)</span> | if *n* = 0
|
||||
| | **signedBigEndian**(*n*) | otherwise
|
||||
**signedBigEndian**(*n*) | = | <span class="outputish">*n* & 255</span> | if -128 ≤ *n* ≤ 127
|
||||
| | **signedBigEndian**(*n* >> 8) <span class="outputish">*n* & 255</span> | otherwise
|
||||
|
|
|
@ -30,10 +30,10 @@
|
|||
{:.postcard-grammar}
|
||||
| *escaped* | := | `\\`|`\/`|`\b`|`\f`|`\n`|`\r`|`\t`|`\u`*hex* *hex* *hex* *hex* |
|
||||
| *binchar* | := | *binunescaped* | (*escaped* |`\"`|`\x`*hex* *hex*) |
|
||||
| *binunescaped* | := | « any unicode scalar value between 32 and 126, except `\` or `"` » |
|
||||
| *binunescaped* | := | « any unicode scalar value ≥32 and ≤126, except `\` or `"` » |
|
||||
| *base64char* | := | `A`..`Z`|`a`..`z`|`0`..`9`|`+`|`/`|`-`|`_`|`=` |
|
||||
| *sympunct* | := | `~`|`!`|`$`|`%`|`^`|`&`|`*`|`?`|`_`|`=`|`+`|`-`|`/`|`.` |
|
||||
| *symuchar* | := | « any scalar value greater than 127 whose Unicode category is Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd, Nl, No, Pc, Pd, Po, Sc, Sm, Sk, So, or Co » |
|
||||
| *symuchar* | := | « any scalar value ≥128 whose Unicode category is Lu, Ll, Lt, Lm, Lo, Mn, Mc, Me, Nd, Nl, No, Pc, Pd, Po, Sc, Sm, Sk, So, or Co » |
|
||||
|
||||
{:.postcard-grammar}
|
||||
| *flt* | := | *int* ( *frac* *exp* | *frac* | *exp* ) |
|
||||
|
|
|
@ -184,6 +184,7 @@ td {
|
|||
font-family: var(--sans-font);
|
||||
font-size: 1rem;
|
||||
color: #888;
|
||||
line-height: 1.414rem;
|
||||
}
|
||||
table.postcard-grammar { background: #e9f0f9; }
|
||||
.postcard-grammar.binarysyntax { color: black; }
|
||||
|
@ -195,6 +196,7 @@ table.postcard-grammar { background: #e9f0f9; }
|
|||
font-size: 0.9rem;
|
||||
}
|
||||
.postcard-grammar em { color: black; }
|
||||
.postcard-grammar .roman { font-family: var(--serif-font); font-size: 1.05rem; }
|
||||
.postcard-grammar strong { color: #400; font-weight: normal; }
|
||||
.postcard-grammar td {
|
||||
vertical-align: top;
|
||||
|
|
Loading…
Reference in New Issue