commit eeea777247ac20a3a2023970e88d6d62f739dc0c
parent 53d825cfe65064d04cac1ba31ae7d05c94d43d77
Author: Zack Newman <zack@philomathiclife.com>
Date: Tue, 2 May 2023 12:19:20 -0600
forgot to add rnd as a term in lang
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lang.tex b/lang.tex
@@ -27,7 +27,7 @@ Define the production rules, \(P\), as the following:
\item \(neg \rightarrow -\ ws\ neg\ |\ exp\)
\item \(exp \rightarrow fact\ ws\ \string^\ ws\ neg\ |\ fact\)
\item \(fact \rightarrow fact!\ |\ term\)
- \item \(term \rightarrow dec\ |\ par\ |\ recall\ |\ abs\ |\ r\)
+ \item \(term \rightarrow dec\ |\ par\ |\ recall\ |\ abs\ |\ r\ |\ rnd\)
\item \(rnd \rightarrow rand(ws)\ |\ rand(ws\ add\ ws,ws\ add\ ws)\)
\item \(r \rightarrow round(ws\ add\ ws,ws\ digit\ ws)\)
\item \(abs \rightarrow |ws\ add\ ws|\)