summaryrefslogtreecommitdiffstats
path: root/report
diff options
context:
space:
mode:
authorchris.sutcliffe <ctd.sutcliffe@gmail.com>2021-11-08 13:48:41 +0000
committerchris.sutcliffe <ctd.sutcliffe@gmail.com>2021-11-08 13:48:41 +0000
commit914dc28aeb1545e7530d92daed5fd2ca402bdd67 (patch)
treed8f9aea1379c22d421807de3aba1fc4d05b54e4b /report
parent8e0b32efd0a44d2582420f192cf2b944477510e9 (diff)
downloadesotericFORTRAN-914dc28aeb1545e7530d92daed5fd2ca402bdd67.tar.gz
esotericFORTRAN-914dc28aeb1545e7530d92daed5fd2ca402bdd67.zip
add to bnf table
Diffstat (limited to 'report')
-rw-r--r--report/esoteric_project_report.tex21
1 files changed, 21 insertions, 0 deletions
diff --git a/report/esoteric_project_report.tex b/report/esoteric_project_report.tex
index b3b83bb..d66a0f1 100644
--- a/report/esoteric_project_report.tex
+++ b/report/esoteric_project_report.tex
@@ -215,6 +215,7 @@ asdf
\cite{davie1982recursive} talk about bnf form here
+
\begin{table}[h!]
\begin{center}
@@ -248,9 +249,29 @@ asdf
& DO $<$expression$>$ $<$expression$>$ = $<$expression$>$, \\
& $<$expression$>$, $<$expression$>$ $<$statement$>$ continue \\
\hline
+
+
CHARACTER ::= & any character in ascii table\\
\hline
+
+ LOGICAL ::= & TRUE\textbar FALSE \\
+ \hline
+
+ COMPLEX ::= & a combination of real and imaginary numbers \\
+ \hline
+
+ REAL ::= & INTEGER\textbar RATIONAL\textbar IRRATIONAL\\
+ \hline
+
+ RATIONAL :: = & any fractional number e.g. 1/3 or 0.333 \\
+ \hline
+
+ IRRATIONAL ::= & $\pi$ \textbar $\sqrt{2} $ etc. \\
+ \hline
+
+
INTEGER ::= & 0\textbar1\textbar2\textbar3\textbar4\textbar5\textbar6\textbar7\textbar8\textbar9 \\
+
\hline
\end{tabular}
\label{tab:table1}