summaryrefslogtreecommitdiff
path: root/comp/lucas-standen-NEA/writeup2/writeup.tex
diff options
context:
space:
mode:
Diffstat (limited to 'comp/lucas-standen-NEA/writeup2/writeup.tex')
-rw-r--r--comp/lucas-standen-NEA/writeup2/writeup.tex23
1 files changed, 10 insertions, 13 deletions
diff --git a/comp/lucas-standen-NEA/writeup2/writeup.tex b/comp/lucas-standen-NEA/writeup2/writeup.tex
index 0869295..ba72047 100644
--- a/comp/lucas-standen-NEA/writeup2/writeup.tex
+++ b/comp/lucas-standen-NEA/writeup2/writeup.tex
@@ -71,22 +71,19 @@
\setlength{\parskip}{1em}
{\setlength{\parindent}{0cm}
-\section{A breif head note and introduction}
+\section{A brief head note and introduction}
This document has been written for the use within AQA computer science
Alevel coursework. It is published under the MiT license, which I hope
will make it of use to someone other than myself some day on the in's
and out's of simpler compiler design and programming languages as a
whole.
-This is the second version of this document, it was writen in GNU
+This is the second version of this document, it was written in GNU
roff before, however I decided to move over to {\LaTeX} for the
more modern features (notably image support). The {\LaTeX} source for
this document is also available along with all referenced code at
\url{https://github.com/standenboy/school}
-Any questions relating to this document should be sent to
-\href{mailto:thing1@seacrossedlovers.xyz}{thing1@seacrossedlovers.xyz}
-
\section{Analysis}
\subsection{The current problem}
For general small and simple projects, I write in C. However this leads to
@@ -114,7 +111,7 @@ there strict ability to keep code safe and practical. The language should
be compiled like C/C++, Haskell and Rust for fast runtime speeds
The goal of Zippy is to make codding easier, while not limiting projects; to
-achive this the compiler will most likely want to use some form of middle man
+achieve this the compiler will most likely want to use some form of middle man
language to achieve compatibility with more libraries.
\subsection{What is a programming language}
@@ -131,10 +128,10 @@ It is important to see "code", as more than just one overarching term and
instead see where the code is being used, and evaluate it from that.
\subsection{Researching and getting a scope of the project}
-Before I start to design a language i should first find examples of others
-and find what i want my language to be like. I'd like my language to feel modern
-so i should take inspiration from what other modern languages do, however on the
-backed i want my language to be stable and fast, for that i should look at
+Before I start to design a language I should first find examples of others
+and find what I want my language to be like. I'd like my language to feel modern
+so I should take inspiration from what other modern languages do, however on the
+backed I want my language to be stable and fast, for that I should look at
older projects.
\subsubsection{Examples of older similar projects}
@@ -160,7 +157,7 @@ older projects.
\url{https://lisp-lang.org/}
- Zippy should try to take alot from the syntax of lisp, () make
+ Zippy should try to take a lot from the syntax of lisp, () make
it easy to see what parts of code will effect what, and make
things easy to tokenize.
\item[Perl]
@@ -276,7 +273,7 @@ project this should make the final outcome more helpful and what people want.
A website, a small command-line tool and a midi keyboard (program runs
on a Raspberry Pi Pico).
\item[How many languages would you use on a single project?]
- I try to use as little languages in a single project as possible, so i
+ I try to use as little languages in a single project as possible, so I
could likely not use it in an existing project.
\item[Do you care for low level control, or would you prefer
high level abstractions?]
@@ -929,7 +926,7 @@ The following python code produces the same output
The zippy code is orders of magnitude faster than the python code, the time command in Unix can be used to show this.
\begin{center}
-\small{\textit{A table comparing the performace of zippy and python, when finding the 30'th Fibonacci number.}}
+\small{\textit{A table comparing the performance of zippy and python, when finding the 30'th Fibonacci number.}}
\end{center}
\begin{center}
\begin{bchart}[max=0.4]