From 048e108b18b90a623b245b83a29842c495cbd93a Mon Sep 17 00:00:00 2001 From: AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> Date: Mon, 15 Nov 2021 16:01:56 +0000 Subject: Fixed some stuff --- report/esoteric_project_report.pdf | Bin 231054 -> 234947 bytes report/esoteric_project_report.tex | 86 +++---------------------------------- 2 files changed, 6 insertions(+), 80 deletions(-) (limited to 'report') diff --git a/report/esoteric_project_report.pdf b/report/esoteric_project_report.pdf index 6e003e6..cb8b30d 100644 Binary files a/report/esoteric_project_report.pdf and b/report/esoteric_project_report.pdf differ diff --git a/report/esoteric_project_report.tex b/report/esoteric_project_report.tex index dcb0e63..7f4035b 100644 --- a/report/esoteric_project_report.tex +++ b/report/esoteric_project_report.tex @@ -150,6 +150,12 @@ Dijkstra – programming without goto (gotoless programming) asdf +\clearpage +\chapter{BNF form} + +\cite{davie1982recursive} talk about bnf form here + + \begin{table}[h!] \begin{center} @@ -216,86 +222,6 @@ asdf \caption{Grammar table for Fortran} \end{center} \end{table} - -\clearpage -\chapter{BNF form} - -\cite{davie1982recursive} talk about bnf form here - - -\begin{table}[h!] - \begin{center} - - \begin{tabular}{|l|r|} - \hline - \textbf{Abbreviation} & \textbf{Term}\\ - \hline - $<$program$>$ ::= & $<$sequence$>$ \\ - \hline - $<$statement$>$ ::= & $<$assignment$>$ $|$ \\ - & IF $|$ \\ - & WHILE \\ - \hline - $<$sequence$>$ ::= & $<$assignment$>$ $|$ $<$sequence$>$ $|$ \\ - & $<$clause$>$ $|$ $<$sequence$>$ $|$ \\ - &$<$empty$>$ \\ - \hline - $<$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 - 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 \\ - \hline - DO ::= & DO $<$label$>$ $<$identifier$>$ = $<$expression$>$, \\ - & $<$expression$>$ $<$statement$>$ continue $|$\\ - & 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 e.g. $3i$ where $i = \sqrt{-1}$\\ - \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} - \caption{Grammar table for Fortran} - \end{center} -\end{table} - \chapter{Methodology}\label{MethLab} Describe here various methods that will be used in your project. Use different sections for distinctly different subjects and use subsections for specific details on the same subject. Only use subsubsections or paragraphs (which are not numbered) if you believe this is really necessary. Since implementation will happen in sprints, this section may need several updates with parts being added and deleted across the project. -- cgit v1.2.3