summaryrefslogtreecommitdiffstats
path: root/report
diff options
context:
space:
mode:
authorchris-sutcliffe <ctd.sutcliffe@gmail.com>2021-10-17 21:26:34 +0100
committerchris-sutcliffe <ctd.sutcliffe@gmail.com>2021-10-17 21:26:34 +0100
commitec16bb890e36e125f8f31636549bdba7280b6acb (patch)
tree5db5f4d07360e69393a0bf2372d6c33eace2f4c7 /report
parent8d0f7e7ac306e6c49cfd5735417b0a8b78c98f34 (diff)
parentb49bb78db545f0aa6569d8e78e79d4740ca77c4a (diff)
downloadesotericFORTRAN-ec16bb890e36e125f8f31636549bdba7280b6acb.tar.gz
esotericFORTRAN-ec16bb890e36e125f8f31636549bdba7280b6acb.zip
Merge branch 'main' of github.com:AlfieEagleton/EsotericProject into main
Diffstat (limited to 'report')
-rw-r--r--report/esoteric_project_report.pdfbin193134 -> 197284 bytes
-rw-r--r--report/esoteric_project_report.tex66
2 files changed, 66 insertions, 0 deletions
diff --git a/report/esoteric_project_report.pdf b/report/esoteric_project_report.pdf
index 67ff856..58a9978 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 d1326b7..25491d5 100644
--- a/report/esoteric_project_report.tex
+++ b/report/esoteric_project_report.tex
@@ -83,6 +83,72 @@ Esolangs are programming languages designed to be jokes or proof of concept lang
\section{Example - Shakespearian Programming Language}
The Shakespeare Programming Language is esoteric code parodied on extracts from Romeo and Juliet. Here, code is written so it reads like how a script would, such as \texttt{[Enter Juliet]} where \texttt{Juliet} may be a variable name. Other examples include using \texttt{Acts} or \texttt{Scenes} as GOTO statements, where the interpreter can jump to a certain point in the code and read from there. Otherwise, these are ignored similar to the title or character descriptions. Other examples include LOLCODE, Hodor or White Space. This serves the purpose of writing code in a different manner to usual, sometimes for humour. The aim is to replace typical language features so that it can still be read by a compiler or interpreter but also look and read very differently by the user.
+\chapter{Grammar - FORTRAN}
+
+\section {Why we chose FORTRAN}
+
+asdf
+
+\begin{table}[h!]
+ \begin{center}
+
+ \begin{tabular}{|l|r|}
+ \hline
+ \textbf{Token} & \textbf{Replaces}\\
+ \hline
+ ! & \slash\slash \\
+ \hline
+ PROGRAM x & public class x \{ \\
+ \hline
+ END PROGRAM & \} \\
+ \hline
+ INTEGER & int \\
+ \hline
+ LOGICAL & boolean \\
+ \hline
+ .FALSE. & false \\
+ \hline
+ .TRUE. & true \\
+ \hline
+ CHARACTER(LEN=x) & String \\
+ \hline
+ :: & = \\
+ \hline
+ IF (x) THEN & if(x) \{ \\
+ \hline
+ ELSE & else \\
+ \hline
+ END IF & \} \\
+ \hline
+ SELECT CASE (x) & switch(x) \{ \\
+ \hline
+ CASE (x) & case x: \\
+ \hline
+ CASE DEFAULT & default: \\
+ \hline
+ END SELECT & \} \\
+ \hline
+ x & x; \\
+ \hline
+ DO x = y, z & for(x = y, x < z; x++) \{ \\
+ \hline
+ END DO & \} \\
+ \hline
+ PRINT *, x & System.out.println(x); \\
+ \hline
+ SUBROUTINE x & static void x() \{ \\
+ \hline
+ END SUBROUTINE & \} \\
+ \hline
+ CALL x & x(); \\
+ \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.