Skip to content

Commit 4f0c0b0

Browse files
authored
Standardize repetition notation in EBNF grammar of plutus specification (#7401) (#7414)
1 parent 409e795 commit 4f0c0b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/plutus-core-spec/untyped-grammar.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ \subsection{Lexical grammar}
1616
\centering
1717
\[\begin{array}{lrclr}
1818
19-
\textrm{Name} & n & ::= & \texttt{[a-zA-Z][a-zA-Z0-9\_\textquotesingle]\textsuperscript{*}(-[0-9]\textsuperscript{+})?} & \textrm{name}\\
19+
\textrm{Name} & n & ::= & \texttt{[a-zA-Z][a-zA-Z0-9\_\textquotesingle]*(-[0-9]+)?} & \textrm{name}\\
2020
2121
\textrm{Var} & x & ::= & n & \textrm{term variable}\\
2222
\textrm{BuiltinName} & bn & ::= & n & \textrm{built-in function name}\\
23-
\textrm{Version} & v & ::= & \texttt{[0-9]\textsuperscript{+}.[0-9]\textsuperscript{+}.[0-9]\textsuperscript{+}}& \textrm{version}\\
23+
\textrm{Version} & v & ::= & \texttt{[0-9]+.[0-9]+.[0-9]+}& \textrm{version}\\
2424
\textrm{Natural} & k & ::= & \texttt{[0-9]+} & \textrm{a natural number}\\
2525
\textrm{Constant} & c & ::= & \langle{\textrm{literal constant}}\rangle& \\
2626

0 commit comments

Comments
 (0)