"Added new test 'Complex' and improved error debugging"

This revision adds a complex test to the 'TestInterpreter.cpp' file to test functionalities such as classes, variable initializations, loops, conditionals and methods in the interpreter. The token parser has also been updated with a reset method in the 'parser.cpp' file for cleaning up any previous state before parsing a new script. This ensures the parser starts fresh for each new parse request. It also improves the debugging process in 'function.cpp' by printing the description of parser errors. Few completed tasks are removed from the TODO list.
This commit is contained in:
IlushaShurupov 2023-08-03 21:15:27 +03:00
parent 55571ca3dd
commit f9d62c324d
4 changed files with 55 additions and 11 deletions

11
TODO
View file

@ -1,20 +1,14 @@
Testing !!
Objects:
Testing
Serialization
Alloc Size queries
Compile !!
parser print error
write tests before refactor !!
Alloc Size queries
remove obj_ref_count macro
fix all clang-tidy notices
write archiver
replace all strings with const string ref
replace all type usages with typedefs
remove tp::
rename classes
move functions around
Graphics:
Window event system
@ -39,6 +33,7 @@ Storage:
Utils:
Stack trace fixes
Save leaks and then use in debugging to break when the same call occurs?
TextEditor:
Implement
Implement