Commit graph

18 commits

Author SHA1 Message Date
IlyaShurupov
f8c82b7e29 clean up object module 2024-11-24 22:41:14 +03:00
IlyaShurupov
e78885d452 dont use NULL macro 2024-11-24 22:41:14 +03:00
IlyaShurupov
9d01ba2c8a Apply cpp naming to files 2024-11-24 22:41:14 +03:00
IlyaShurupov
1756ca026d RIP tp::Strings 2024-11-24 22:41:14 +03:00
Ilusha
8cc5f2f9f7 Fixing lalr on windows 2024-11-24 22:41:13 +03:00
Ilusha
3eadb0d726 stable 2024-11-24 22:41:13 +03:00
IlyaShurupov
2484ea9d9c parser error handling 2024-11-24 22:41:13 +03:00
IlyaShurupov
d4c85a3d86 Parser done implementing 2024-11-24 22:41:13 +03:00
IlyaShurupov
87fb15ed13 tmp 2024-11-24 22:41:13 +03:00
IlyaShurupov
b647271081 grammar done 2024-11-24 22:41:13 +03:00
IlyaShurupov
505b77da3f tmp 2024-11-24 22:41:13 +03:00
IlyaShurupov
8dc73bc1d5 tmp 2024-11-24 22:41:13 +03:00
Ilusha
1293136343 Replace object parser with lalr library 2024-11-24 22:41:13 +03:00
IlyaShurupov
91fb72bd49 Apply formating to all files. CLeanup 2024-11-24 22:41:08 +03:00
IlushaShurupov
cef0db6fb1 Adding some tokinizer checks for strings and comments 2024-11-24 22:38:03 +03:00
IlushaShurupov
f579a969ce "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.
2024-11-24 22:38:03 +03:00
IlushaShurupov
edf0548046 Objects Compiled 2024-11-24 22:38:03 +03:00
IlushaShurupov
94057d2a66 Objects Initial 2024-11-24 22:36:45 +03:00