commit a944e593ad7fe54d007ad44d5bf9dc7ad2ddf103
parent 17e468fd17e7a09b37c76891293389dc4b2c6a64
Author: Lucas Standen <p10748@qmc.ac.uk>
Date: Thu, 23 May 2024 10:39:48 +0100
added some stuff
Diffstat:
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
Binary files differ.
diff --git 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