diff options
author | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-15 16:01:56 +0000 |
---|---|---|
committer | AidenRushbrooke <72034940+AidenRushbrooke@users.noreply.github.com> | 2021-11-15 16:01:56 +0000 |
commit | 048e108b18b90a623b245b83a29842c495cbd93a (patch) | |
tree | 48d56c5e3c2470e6cb45b03c7f3f46ad368e48bb | |
parent | a95193c1baea31f30d6b4009fd7e21a3bab5c2f8 (diff) | |
download | esotericFORTRAN-048e108b18b90a623b245b83a29842c495cbd93a.tar.gz esotericFORTRAN-048e108b18b90a623b245b83a29842c495cbd93a.zip |
Fixed some stuff
-rw-r--r-- | report/esoteric_project_report.pdf | bin | 231054 -> 234947 bytes | |||
-rw-r--r-- | report/esoteric_project_report.tex | 86 |
2 files changed, 6 insertions, 80 deletions
diff --git a/report/esoteric_project_report.pdf b/report/esoteric_project_report.pdf Binary files differindex 6e003e6..cb8b30d 100644 --- a/report/esoteric_project_report.pdf +++ b/report/esoteric_project_report.pdf 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. |