summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchris.sutcliffe <ctd.sutcliffe@gmail.com>2021-11-08 13:48:56 +0000
committerchris.sutcliffe <ctd.sutcliffe@gmail.com>2021-11-08 13:48:56 +0000
commitb8bdc0d0455637d25a4cc0da2100048e3fd041c0 (patch)
treeb184215a47350081650b231088d21e4018f7959a
parent914dc28aeb1545e7530d92daed5fd2ca402bdd67 (diff)
parent5b68c981912b69d376da81ce221601b6ac976a6f (diff)
downloadesotericFORTRAN-b8bdc0d0455637d25a4cc0da2100048e3fd041c0.tar.gz
esotericFORTRAN-b8bdc0d0455637d25a4cc0da2100048e3fd041c0.zip
Merge bnf table changes
-rw-r--r--report/esoteric_project_report.pdfbin212373 -> 213989 bytes
-rw-r--r--report/esoteric_project_report.tex20
2 files changed, 15 insertions, 5 deletions
diff --git a/report/esoteric_project_report.pdf b/report/esoteric_project_report.pdf
index a27f989..4a9c351 100644
--- a/report/esoteric_project_report.pdf
+++ b/report/esoteric_project_report.pdf
Binary files differ
diff --git a/report/esoteric_project_report.tex b/report/esoteric_project_report.tex
index d66a0f1..cccd91d 100644
--- a/report/esoteric_project_report.tex
+++ b/report/esoteric_project_report.tex
@@ -223,6 +223,8 @@ asdf
\hline
\textbf{Abbreviation} & \textbf{Term}\\
\hline
+ $<$program$>$ ::= & $<$sequence$>$ \\
+ \hline
$<$statement$>$ ::= & $<$assignment$>$ $|$ \\
& IF $|$ \\
& WHILE \\
@@ -234,12 +236,20 @@ asdf
$<$clause$>$ ::= & IF $|$ \\
& DO $|$ \\
& PRINT $|$ \\
+ & FUNCTION \textbar \\
+ & SUBROUTINE \\
+ \hline
+ $<$assignment$>$ ::= & CHARACTER $<$string$>$ = $<$expression$>$ $|$ \\
+ & LOGICAL $<$string$>$ = $<$expression$>$ $|$ \\
+ & COMPLEX $<$string$>$ = $<$expression$>$ $|$ \\
+ & REAL $<$string$>$ = $<$expression$>$ $|$ \\
+ & INTEGER $<$string$>$ = $<$expression$>$ \\
+ \hline
+ PRINT ::= & PRINT format [ , output\textunderscore item\textunderscore list ] \\
\hline
- $<$assignment$>$ ::= & CHARACTER $|$ \\
- & LOGICAL $|$ \\
- & COMPLEX $|$ \\
- & REAL $|$ \\
- & INTEGER \\
+ FUNCTION ::= & FUNCTION $<$string$>$ [ , output\textunderscore item\textunderscore list ] \\
+ & $<$sequence$>$ \\
+ & RETURN END FUNCTION \\
\hline
IF ::= & IF $<$expression$>$ THEN $<$statement$>$ END IF $|$\\
& IF $<$expression$>$ THEN $<$statement$>$ ELSE $<$statement$>$ END IF \\