summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfie Eagleton <67986414+TheAlfanator@users.noreply.github.com>2021-11-08 13:30:38 +0000
committerAlfie Eagleton <67986414+TheAlfanator@users.noreply.github.com>2021-11-08 13:30:38 +0000
commit5b68c981912b69d376da81ce221601b6ac976a6f (patch)
tree253c2e4885047dc0cb5c47018ecacc5935e709ff
parent8e0b32efd0a44d2582420f192cf2b944477510e9 (diff)
downloadesotericFORTRAN-5b68c981912b69d376da81ce221601b6ac976a6f.tar.gz
esotericFORTRAN-5b68c981912b69d376da81ce221601b6ac976a6f.zip
more updates
-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 b3b83bb..39e40ab 100644
--- a/report/esoteric_project_report.tex
+++ b/report/esoteric_project_report.tex
@@ -222,6 +222,8 @@ asdf
\hline
\textbf{Abbreviation} & \textbf{Term}\\
\hline
+ $<$program$>$ ::= & $<$sequence$>$ \\
+ \hline
$<$statement$>$ ::= & $<$assignment$>$ $|$ \\
& IF $|$ \\
& WHILE \\
@@ -233,12 +235,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 \\