Start work on interpreter

This commit is contained in:
2025-11-23 18:34:30 +11:00
parent 31cc30ee48
commit a69901be7b
7 changed files with 1460 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
#include "parser.h"
#include "interpreter.h"
#include <stdio.h>
char* getFileContents(const char* filename) {
@@ -44,4 +45,5 @@ int main(int argc, char** argv) {
}
char* file = getFileContents(argv[1]);
GroundProgram program = parseFile(file);
interpretGroundProgram(&program);
}