cleanup and implementation of builtin functions

This commit is contained in:
Alexander Acker 2024-10-08 17:17:10 +02:00
parent 78bb3321d8
commit 06f385d6b0
11 changed files with 621 additions and 302 deletions

View file

@ -113,12 +113,12 @@ int main(int argc, const char* argv [])
Interpreter_Create(&interpreter, &tokens);
Interpreter_Interpret(&interpreter);
int interpret_code = Interpreter_Interpret(&interpreter);
Interpreter_Destroy(&interpreter);
DynamicArray_Destroy(&tokens);
free(script_string);
return EXIT_SUCCESS;
return interpret_code;
}