Skip to content

Commit 328e425

Browse files
authored
[spec] Clarify that atoms can be symbolic (#1602)
1 parent 0f06880 commit 328e425

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

document/core/syntax/conventions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Grammar Notation
2020

2121
The following conventions are adopted in defining grammar rules for abstract syntax.
2222

23-
* Terminal symbols (atoms) are written in sans-serif font: :math:`\K{i32}, \K{end}`.
23+
* Terminal symbols (atoms) are written in sans-serif font or in symbolic form: :math:`\K{i32}, \K{end}, {\to}, [, ]`.
2424

2525
* Nonterminal symbols are written in italic font: :math:`\X{valtype}, \X{instr}`.
2626

0 commit comments

Comments
 (0)