summaryrefslogtreecommitdiff
path: root/comp
diff options
context:
space:
mode:
authorLucas Standen <p10748@qmc.ac.uk>2024-05-23 10:39:48 +0100
committerLucas Standen <p10748@qmc.ac.uk>2024-05-23 10:39:48 +0100
commita944e593ad7fe54d007ad44d5bf9dc7ad2ddf103 (patch)
treee87550d83f0f96751e2a38cfe91ed801a11577eb /comp
parent17e468fd17e7a09b37c76891293389dc4b2c6a64 (diff)
added some stuff
Diffstat (limited to 'comp')
-rw-r--r--comp/lucas-standen-NEA/writeup/coverpage.ms14
1 files changed, 13 insertions, 1 deletions
diff --git a/comp/lucas-standen-NEA/writeup/coverpage.ms b/comp/lucas-standen-NEA/writeup/coverpage.ms
index 73ceabf..10d713d 100644
--- a/comp/lucas-standen-NEA/writeup/coverpage.ms
+++ b/comp/lucas-standen-NEA/writeup/coverpage.ms
@@ -865,6 +865,13 @@ Errors
Can syntax error.
Can throw errors via err.
+
+.NH 2
+Memory management
+.LP
+Memory will be allocated when a variable is initialized, and freed when the program stops.
+Although this isn't the fastest method, it is simple and has less runtime overhead.
+
.NH 2
Questionnaire 2 for Rayn M
@@ -905,7 +912,6 @@ Many build systems are available for C, the main ones being cmake and gnu make.
the goal of putting the compiling process in one command. Cmake is cross platform (sorta windows
doesn't work well but it does work).
-
.NH 3
Libraries
.LP
@@ -1068,6 +1074,12 @@ The alogrithum to run code is quite complex however it can be boiled down to a f
.B "move to the next node of the linked list"
.B "repeat until the linked list is empty"
+Within each of these steps is many smaller steps. The hardest part will be making the tokens, as
+this requires alot of string manipultation. The execution will be a recursive alogrithum. All trees
+will be represented via structs (see section on AST's).
+
+PUT SOME FLOW CHARTS HERE
+
.NH 1
Technical Solution
.NH 1