diff options
author | chris-sutcliffe <ctd.sutcliffe@gmail.com> | 2021-10-17 21:26:07 +0100 |
---|---|---|
committer | chris-sutcliffe <ctd.sutcliffe@gmail.com> | 2021-10-17 21:26:07 +0100 |
commit | 8d0f7e7ac306e6c49cfd5735417b0a8b78c98f34 (patch) | |
tree | e86e521622988389288ef261fd41d0d74371f57a /report | |
parent | 9ce3bc07fc567594c0ceb22386799ec59e9dfdd7 (diff) | |
download | esotericFORTRAN-8d0f7e7ac306e6c49cfd5735417b0a8b78c98f34.tar.gz esotericFORTRAN-8d0f7e7ac306e6c49cfd5735417b0a8b78c98f34.zip |
change report structure slightly, add subheadings
Diffstat (limited to 'report')
-rw-r--r-- | report/esoteric_project_report.tex | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/report/esoteric_project_report.tex b/report/esoteric_project_report.tex index 8306b94..d1326b7 100644 --- a/report/esoteric_project_report.tex +++ b/report/esoteric_project_report.tex @@ -68,12 +68,16 @@ Breifly describe what you will cover in the remainder of the report, chapter by \chapter{Research of Similar Systems} \section{Compilers vs Interpreters} -Within the field of computer programming languages, there are two main types: compiled languages and interpreted languages. Both of these styles have distinct advantages and disadvantages. Compilers and interpreters both convert code written in human readable higher-level languages to instructions that a computer can execute. In the case of compiler, code is converted from high level program code to assembly language then to machine language. This process can be slow, especially when there is a large amount of code to compile, but execution is fast as only the instructions directly executed are required to be kept in memory. In contrast to this, Interpreter directly runs the code given to it, or in other words, an interpreter is a separate program that reads and executes the instructions itself, rather than converting them into the assembly language of that particular architecture being run on. The principal advantage of this is that a computationally expensive compilation process does not have to be run every time, therefore leading to faster startup times. However, this approach carries with it a big disadvantage, namely that because every line has to be interpreted, execution is slower than the equivalent instructions run in a compiled language. +Within the field of computer programming languages, there are two main types: compiled languages and interpreted languages. Both of these styles have distinct advantages and disadvantages. Compilers and interpreters both convert code written in human readable higher-level languages to instructions that a computer can execute. -\section{Programming Languages} +In the case of compiler, code is converted from high level program code to assembly language then to machine language. This process can be slow, especially when there is a large amount of code to compile, but execution is fast as only the instructions directly executed are required to be kept in memory. + +In contrast to this, Interpreter directly runs the code given to it, or in other words, an interpreter is a separate program that reads and executes the instructions itself, rather than converting them into the assembly language of that particular architecture being run on. The principal advantage of this is that a computationally expensive compilation process does not have to be run every time, therefore leading to faster startup times. However, this approach carries with it a big disadvantage, namely that because every line has to be interpreted, execution is slower than the equivalent instructions run in a compiled language. + +\section{Interpreted Programming Languages} There are a number of prominent interpreted languages in use today, including Python, Matlab, Perl, Ruby and PHP. All of these languages have interpreters that are written in C or C++, which are compiled languages. The interpreters for each language are loaded into memory, along with an instruction that they then interpret. -\section{Esolangs} +\section{Esoteric Languages (Esolangs)} Esolangs are programming languages designed to be jokes or proof of concept languages, rather than those to be used in actual programming tasks. Typically, the reason they are created is for fun rather than any serious desire to solve a particular programming problem, and so most languages aim to be funny, to be as difficult to use as possible or to have few features while still being Turing complete. \section{Example - Shakespearian Programming Language} |