Values

The grammar productions in this section define lexical syntax, hence no white space is allowed.

Integers

All integers can be written in either decimal or hexadecimal notation. In both cases, digits can optionally be separated by underscores.

\[\begin{split}\begin{array}{llclll@{\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{sign} & \href{../text/values.html#text-sign}{\mathtt{sign}} &::=& \epsilon \Rightarrow {+} ~~|~~ \def\mathdef4579#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4579{+} \Rightarrow {+} ~~|~~ \def\mathdef4580#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4580{-} \Rightarrow {-} \\ \def\mathdef4540#1{{}}\mathdef4540{decimal digit} & \href{../text/values.html#text-digit}{\mathtt{digit}} &::=& \def\mathdef4581#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4581{0} \Rightarrow 0 ~~|~~ \dots ~~|~~ \def\mathdef4582#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4582{9} \Rightarrow 9 \\ \def\mathdef4540#1{{}}\mathdef4540{hexadecimal digit} & \href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}} &::=& d{:}\href{../text/values.html#text-digit}{\mathtt{digit}} \Rightarrow d \\ &&|& \def\mathdef4583#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4583{A} \Rightarrow 10 ~~|~~ \dots ~~|~~ \def\mathdef4584#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4584{F} \Rightarrow 15 \\ &&|& \def\mathdef4585#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4585{a} \Rightarrow 10 ~~|~~ \dots ~~|~~ \def\mathdef4586#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4586{f} \Rightarrow 15 \\[1ex] \def\mathdef4540#1{{}}\mathdef4540{decimal number} & \href{../text/values.html#text-num}{\mathtt{num}} &::=& d{:}\href{../text/values.html#text-digit}{\mathtt{digit}} &\Rightarrow& d \\ &&|& n{:}\href{../text/values.html#text-num}{\mathtt{num}}~~\def\mathdef4587#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4587{\_}^?~~d{:}\href{../text/values.html#text-digit}{\mathtt{digit}} &\Rightarrow& 10\cdot n + d \\ \def\mathdef4540#1{{}}\mathdef4540{hexadecimal number} & \href{../text/values.html#text-hexnum}{\mathtt{hexnum}} &::=& h{:}\href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}} &\Rightarrow& h \\ &&|& n{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}}~~\def\mathdef4588#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4588{\_}^?~~h{:}\href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}} &\Rightarrow& 16\cdot n + h \\ \end{array}\end{split}\]

The allowed syntax for integer literals depends on size and signedness. Moreover, their value must lie within the range of the respective type.

\[\begin{split}\begin{array}{llclll@{\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{unsigned integer} & \href{../text/values.html#text-int}{\def\mathdef4561#1{{\mathtt{u}#1}}\mathdef4561{N}} &::=& n{:}\href{../text/values.html#text-num}{\mathtt{num}} &\Rightarrow& n & (\mathrel{\mbox{if}} n < 2^N) \\ &&|& \def\mathdef4589#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4589{0x}~~n{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}} &\Rightarrow& n & (\mathrel{\mbox{if}} n < 2^N) \\ \def\mathdef4540#1{{}}\mathdef4540{signed integer} & \href{../text/values.html#text-int}{\def\mathdef4567#1{{\mathtt{s}#1}}\mathdef4567{N}} &::=& {\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~~n{:}\href{../text/values.html#text-num}{\mathtt{num}} &\Rightarrow& \pm n & (\mathrel{\mbox{if}} -2^{N-1} \leq \pm n < 2^{N-1}) \\ &&|& {\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~~\def\mathdef4590#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4590{0x}~~n{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}} &\Rightarrow& \pm n & (\mathrel{\mbox{if}} -2^{N-1} \leq \pm n < 2^{N-1}) \\ \end{array}\end{split}\]

Uninterpreted integers can be written as either signed or unsigned, and are normalized to unsigned in the abstract syntax.

\[\begin{split}\begin{array}{llclll@{\qquad\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{uninterpreted integers} & \href{../text/values.html#text-int}{\def\mathdef4570#1{{\mathtt{i}#1}}\mathdef4570{N}} &::=& n{:}\href{../text/values.html#text-int}{\def\mathdef4561#1{{\mathtt{u}#1}}\mathdef4561{N}} &\Rightarrow& n \\ &&|& i{:}\href{../text/values.html#text-int}{\def\mathdef4567#1{{\mathtt{s}#1}}\mathdef4567{N}} &\Rightarrow& n & (\mathrel{\mbox{if}} i = \href{../exec/numerics.html#aux-signed}{\mathrm{signed}}(n)) \\ \end{array}\end{split}\]

Floating-Point

Floating-point values can be represented in either decimal or hexadecimal notation.

\[\begin{split}\begin{array}{llclll@{\qquad\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{decimal floating-point fraction} & \href{../text/values.html#text-frac}{\mathtt{frac}} &::=& d{:}\href{../text/values.html#text-digit}{\mathtt{digit}} &\Rightarrow& d/10 \\ &&|& d{:}\href{../text/values.html#text-digit}{\mathtt{digit}}~~\def\mathdef4591#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4591{\_}^?~~p{:}\href{../text/values.html#text-frac}{\mathtt{frac}} &\Rightarrow& (d+p/10)/10 \\ \def\mathdef4540#1{{}}\mathdef4540{hexadecimal floating-point fraction} & \href{../text/values.html#text-hexfrac}{\mathtt{hexfrac}} &::=& h{:}\href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}} &\Rightarrow& h/16 \\ &&|& h{:}\href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}}~~\def\mathdef4592#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4592{\_}^?~~p{:}\href{../text/values.html#text-hexfrac}{\mathtt{hexfrac}} &\Rightarrow& (h+p/16)/16 \\ \def\mathdef4540#1{{}}\mathdef4540{decimal floating-point number} & \href{../text/values.html#text-float}{\mathtt{float}} &::=& p{:}\href{../text/values.html#text-num}{\mathtt{num}}~\def\mathdef4593#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4593{.}^? &\Rightarrow& p \\ &&|& p{:}\href{../text/values.html#text-num}{\mathtt{num}}~\def\mathdef4594#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4594{.}~q{:}\href{../text/values.html#text-frac}{\mathtt{frac}} &\Rightarrow& p+q \\ &&|& p{:}\href{../text/values.html#text-num}{\mathtt{num}}~\def\mathdef4595#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4595{.}^?~(\def\mathdef4596#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4596{E}~|~\def\mathdef4597#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4597{e})~{\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~e{:}\href{../text/values.html#text-num}{\mathtt{num}} &\Rightarrow& p\cdot 10^{\pm e} \\ &&|& p{:}\href{../text/values.html#text-num}{\mathtt{num}}~\def\mathdef4598#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4598{.}~q{:}\href{../text/values.html#text-frac}{\mathtt{frac}}~(\def\mathdef4599#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4599{E}~|~\def\mathdef4600#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4600{e})~{\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~e{:}\href{../text/values.html#text-num}{\mathtt{num}} &\Rightarrow& (p+q)\cdot 10^{\pm e} \\ \def\mathdef4540#1{{}}\mathdef4540{hexadecimal floating-point number} & \href{../text/values.html#text-hexfloat}{\mathtt{hexfloat}} &::=& \def\mathdef4601#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4601{0x}~p{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}}~\def\mathdef4602#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4602{.}^? &\Rightarrow& p \\ &&|& \def\mathdef4603#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4603{0x}~p{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}}~\def\mathdef4604#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4604{.}~q{:}\href{../text/values.html#text-hexfrac}{\mathtt{hexfrac}} &\Rightarrow& p+q \\ &&|& \def\mathdef4605#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4605{0x}~p{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}}~\def\mathdef4606#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4606{.}^?~(\def\mathdef4607#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4607{P}~|~\def\mathdef4608#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4608{p})~{\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~e{:}\href{../text/values.html#text-num}{\mathtt{num}} &\Rightarrow& p\cdot 2^{\pm e} \\ &&|& \def\mathdef4609#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4609{0x}~p{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}}~\def\mathdef4610#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4610{.}~q{:}\href{../text/values.html#text-hexfrac}{\mathtt{hexfrac}}~(\def\mathdef4611#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4611{P}~|~\def\mathdef4612#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4612{p})~{\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~e{:}\href{../text/values.html#text-num}{\mathtt{num}} &\Rightarrow& (p+q)\cdot 2^{\pm e} \end{array}\end{split}\]

The value of a literal must not lie outside the representable range of the corresponding IEEE 754 type (that is, a numeric value must not overflow to \(\pm\mbox{infinity}\)), but it may be rounded to the nearest representable value.

Note

Rounding can be prevented by using hexadecimal notation with no more significant bits than supported by the required type.

Floating-point values may also be written as constants for infinity or canonical NaN (not a number). Furthermore, arbitrary NaN values may be expressed by providing an explicit payload value.

\[\begin{split}\begin{array}{llclll@{\qquad\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{floating-point value} & \href{../text/values.html#text-float}{\def\mathdef4575#1{{\mathtt{f}#1}}\mathdef4575{N}} &::=& {\pm}{:}\href{../text/values.html#text-sign}{\mathtt{sign}}~z{:}\href{../text/values.html#text-float}{\def\mathdef4576#1{{\mathtt{f}#1}}\mathdef4576{N}\mathtt{mag}} &\Rightarrow& \pm z \\ \def\mathdef4540#1{{}}\mathdef4540{floating-point magnitude} & \href{../text/values.html#text-float}{\def\mathdef4576#1{{\mathtt{f}#1}}\mathdef4576{N}\mathtt{mag}} &::=& z{:}\href{../text/values.html#text-float}{\mathtt{float}} &\Rightarrow& \href{../exec/numerics.html#aux-ieee}{\mathrm{float}}_N(z) & (\mathrel{\mbox{if}} \href{../exec/numerics.html#aux-ieee}{\mathrm{float}}_N(z) \neq \pm \infty) \\ &&|& z{:}\href{../text/values.html#text-hexfloat}{\mathtt{hexfloat}} &\Rightarrow& \href{../exec/numerics.html#aux-ieee}{\mathrm{float}}_N(z) & (\mathrel{\mbox{if}} \href{../exec/numerics.html#aux-ieee}{\mathrm{float}}_N(z) \neq \pm \infty) \\ &&|& \def\mathdef4613#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4613{inf} &\Rightarrow& \infty \\ &&|& \def\mathdef4614#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4614{nan} &\Rightarrow& \href{../syntax/values.html#syntax-float}{\mathsf{nan}}(\href{../syntax/values.html#aux-canon}{\mathrm{canon}}_N) \\ &&|& \def\mathdef4615#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4615{nan{:}0x}~n{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}} &\Rightarrow& \href{../syntax/values.html#syntax-float}{\mathsf{nan}}(n) & (\mathrel{\mbox{if}} 1 \leq n < 2^{\href{../syntax/values.html#aux-significand}{\mathrm{signif}}(N)}) \\ \end{array}\end{split}\]

Strings

Strings denote sequences of bytes that can represent both textual and binary data. They are enclosed in quotation marks and may contain any character other than ASCII control characters, quotation marks (\(\def\mathdef4616#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4616{"}\)), or backslash (\(\def\mathdef4617#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4617{\backslash}\)), except when expressed with an escape sequence.

\[\begin{split}\begin{array}{llclll@{\qquad\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{string} & \href{../text/values.html#text-string}{\mathtt{string}} &::=& \def\mathdef4618#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4618{"}~(b^\ast{:}\href{../text/values.html#text-string}{\mathtt{stringelem}})^\ast~\def\mathdef4619#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4619{"} &\Rightarrow& \href{../syntax/conventions.html#notation-concat}{\mathrm{concat}}((b^\ast)^\ast) & (\mathrel{\mbox{if}} |\href{../syntax/conventions.html#notation-concat}{\mathrm{concat}}((b^\ast)^\ast)| < 2^{32}) \\ \def\mathdef4540#1{{}}\mathdef4540{string element} & \href{../text/values.html#text-string}{\mathtt{stringelem}} &::=& c{:}\href{../text/values.html#text-string}{\mathtt{stringchar}} &\Rightarrow& \href{../binary/values.html#binary-utf8}{\mathrm{utf8}}(c) \\ &&|& \def\mathdef4620#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4620{\backslash}~n{:}\href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}}~m{:}\href{../text/values.html#text-hexdigit}{\mathtt{hexdigit}} &\Rightarrow& 16\cdot n+m \\ \end{array}\end{split}\]

Each character in a string literal represents the byte sequence corresponding to its UTF-8 Unicode (Section 2.5) encoding, except for hexadecimal escape sequences \(\mbox{‘}\backslash hh\mbox{’}\), which represent raw bytes of the respective value.

\[\begin{split}\begin{array}{llclll@{\qquad\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{string character} & \href{../text/values.html#text-string}{\mathtt{stringchar}} &::=& c{:}\href{../text/lexical.html#text-char}{\mathtt{char}} &\Rightarrow& c \qquad & (\mathrel{\mbox{if}} c \geq \def\mathdef4621#1{\mathrm{U{+}#1}}\mathdef4621{20} \wedge c \neq \def\mathdef4622#1{\mathrm{U{+}#1}}\mathdef4622{7F} \wedge c \neq \def\mathdef4623#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4623{"} \wedge c \neq \def\mathdef4624#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4624{\backslash}) \\ &&|& \def\mathdef4625#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4625{\backslash t} &\Rightarrow& \def\mathdef4626#1{\mathrm{U{+}#1}}\mathdef4626{09} \\ &&|& \def\mathdef4627#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4627{\backslash n} &\Rightarrow& \def\mathdef4628#1{\mathrm{U{+}#1}}\mathdef4628{0A} \\ &&|& \def\mathdef4629#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4629{\backslash r} &\Rightarrow& \def\mathdef4630#1{\mathrm{U{+}#1}}\mathdef4630{0D} \\ &&|& \def\mathdef4631#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4631{\backslash{"}} &\Rightarrow& \def\mathdef4632#1{\mathrm{U{+}#1}}\mathdef4632{22} \\ &&|& \def\mathdef4633#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4633{\backslash{'}} &\Rightarrow& \def\mathdef4634#1{\mathrm{U{+}#1}}\mathdef4634{27} \\ &&|& \def\mathdef4635#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4635{\backslash\backslash} &\Rightarrow& \def\mathdef4636#1{\mathrm{U{+}#1}}\mathdef4636{5C} \\ &&|& \def\mathdef4637#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4637{\backslash u\{}~n{:}\href{../text/values.html#text-hexnum}{\mathtt{hexnum}}~\def\mathdef4638#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4638{\}} &\Rightarrow& \def\mathdef4639#1{\mathrm{U{+}#1}}\mathdef4639{(n)} & (\mathrel{\mbox{if}} n < \def\mathdef4640#1{\mathtt{0x#1}}\mathdef4640{D800} \vee \def\mathdef4641#1{\mathtt{0x#1}}\mathdef4641{E000} \leq n < \def\mathdef4642#1{\mathtt{0x#1}}\mathdef4642{110000}) \\ \end{array}\end{split}\]

Names

Names are strings denoting a literal character sequence. A name string must form a valid UTF-8 encoding as defined by Unicode (Section 2.5) and is interpreted as a string of Unicode scalar values.

\[\begin{split}\begin{array}{llclll@{\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{name} & \href{../text/values.html#text-name}{\mathtt{name}} &::=& b^\ast{:}\href{../text/values.html#text-string}{\mathtt{string}} &\Rightarrow& c^\ast & (\mathrel{\mbox{if}} b^\ast = \href{../binary/values.html#binary-utf8}{\mathrm{utf8}}(c^\ast)) \\ \end{array}\end{split}\]

Note

Presuming the source text is itself encoded correctly, strings that do not contain any uses of hexadecimal byte escapes are always valid names.

Identifiers

Indices can be given in both numeric and symbolic form. Symbolic identifiers that stand in lieu of indices start with \(\def\mathdef4643#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4643{\$}\), followed by eiter a sequence of printable ASCII characters that does not contain a space, quotation mark, comma, semicolon, or bracket, or by a quoted name.

\[\begin{split}\begin{array}{llclll@{\qquad}l} \def\mathdef4540#1{{}}\mathdef4540{identifier} & \href{../text/values.html#text-id}{\mathtt{id}} &::=& \def\mathdef4644#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4644{\$}~c^\ast{:}\href{../text/values.html#text-idchar}{\mathtt{idchar}}^+ &\Rightarrow& c^\ast \\ &&|& \def\mathdef4645#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4645{\$}~c^\ast{:}\href{../text/values.html#text-name}{\mathtt{name}} &\Rightarrow& c^\ast & (\mathrel{\mbox{if}} |c^\ast| > 0) \\ \def\mathdef4540#1{{}}\mathdef4540{identifier character} & \href{../text/values.html#text-idchar}{\mathtt{idchar}} &::=& \def\mathdef4646#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4646{0} ~~|~~ \dots ~~|~~ \def\mathdef4647#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4647{9} \\ &&|& \def\mathdef4648#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4648{A} ~~|~~ \dots ~~|~~ \def\mathdef4649#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4649{Z} \\ &&|& \def\mathdef4650#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4650{a} ~~|~~ \dots ~~|~~ \def\mathdef4651#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4651{z} \\ &&|& \def\mathdef4652#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4652{!} ~~|~~ \def\mathdef4653#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4653{\#} ~~|~~ \def\mathdef4654#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4654{\$} ~~|~~ \def\mathdef4655#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4655{\%} ~~|~~ \def\mathdef4656#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4656{\&} ~~|~~ \def\mathdef4657#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4657{'} ~~|~~ \def\mathdef4658#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4658{*} ~~|~~ \def\mathdef4659#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4659{+} ~~|~~ \def\mathdef4660#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4660{-} ~~|~~ \def\mathdef4661#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4661{.} ~~|~~ \def\mathdef4662#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4662{/} \\ &&|& \def\mathdef4663#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4663{:} ~~|~~ \def\mathdef4664#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4664{<} ~~|~~ \def\mathdef4665#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4665{=} ~~|~~ \def\mathdef4666#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4666{>} ~~|~~ \def\mathdef4667#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4667{?} ~~|~~ \def\mathdef4668#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4668{@} ~~|~~ \def\mathdef4669#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4669{\backslash} ~~|~~ \def\mathdef4670#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4670{\hat{~~}} ~~|~~ \def\mathdef4671#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4671{\_} ~~|~~ \def\mathdef4672#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4672{\grave{~~}} ~~|~~ \def\mathdef4673#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4673{|} ~~|~~ \def\mathdef4674#1{\mbox{‘}\mathtt{#1}\mbox{’}}\mathdef4674{\tilde{~~}} \\ \end{array}\end{split}\]

Note

The value of an identifier character is the Unicode codepoint denoting it.

Conventions

The expansion rules of some abbreviations require insertion of a fresh identifier. That may be any syntactically valid identifier that does not already occur in the given source text.