summaryrefslogtreecommitdiffstats
path: root/report/esoteric_project_report.tex
diff options
context:
space:
mode:
Diffstat (limited to 'report/esoteric_project_report.tex')
-rw-r--r--report/esoteric_project_report.tex15
1 files changed, 14 insertions, 1 deletions
diff --git a/report/esoteric_project_report.tex b/report/esoteric_project_report.tex
index e4b208d..b3b83bb 100644
--- a/report/esoteric_project_report.tex
+++ b/report/esoteric_project_report.tex
@@ -226,6 +226,20 @@ asdf
& IF $|$ \\
& WHILE \\
\hline
+ $<$sequence$>$ ::= & $<$assignment$>$ $|$ $<$sequence$>$ $|$ \\
+ & $<$clause$>$ $|$ $<$sequence$>$ $|$ \\
+ &$<$empty$>$ \\
+ \hline
+ $<$clause$>$ ::= & IF $|$ \\
+ & DO $|$ \\
+ & PRINT $|$ \\
+ \hline
+ $<$assignment$>$ ::= & CHARACTER $|$ \\
+ & LOGICAL $|$ \\
+ & COMPLEX $|$ \\
+ & REAL $|$ \\
+ & INTEGER \\
+ \hline
IF ::= & IF $<$expression$>$ THEN $<$statement$>$ END IF $|$\\
& IF $<$expression$>$ THEN $<$statement$>$ ELSE $<$statement$>$ END IF \\
\hline
@@ -234,7 +248,6 @@ asdf
& DO $<$expression$>$ $<$expression$>$ = $<$expression$>$, \\
& $<$expression$>$, $<$expression$>$ $<$statement$>$ continue \\
\hline
-
CHARACTER ::= & any character in ascii table\\
\hline
INTEGER ::= & 0\textbar1\textbar2\textbar3\textbar4\textbar5\textbar6\textbar7\textbar8\textbar9 \\