cleanup and implementation of builtin functions
This commit is contained in:
parent
78bb3321d8
commit
06f385d6b0
11 changed files with 621 additions and 302 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue