start working on function calls

This commit is contained in:
2025-08-04 02:09:38 +01:00
parent 417d66faf3
commit af371f5b9f
12 changed files with 2185158 additions and 32 deletions

View File

@@ -369,7 +369,7 @@ Execution execute(char *path, Stack *stack) {
RuntimeState state = init_runtime_state(translated, path);
Stack *main_scope = create_scope(stack);
ArErr err = runtime(translated, state, main_scope);
free(state.registers);
free_runtime_state(state);
end = clock();
time_spent = (double)(end - start) / CLOCKS_PER_SEC;
total_time_spent += time_spent;