Commit graph

184 commits

Author SHA1 Message Date
IlyaShurupov
d6c326b83d tmp 2024-11-24 22:38:03 +03:00
IlyaShurupov
eb133745f9 Simple Normals Rendering 2024-11-24 22:38:03 +03:00
IlyaShurupov
b2fa4c4266 Bug fixes 2024-11-24 22:38:03 +03:00
IlyaShurupov
15b56a876a RayTracer Initial Framework setup 2024-11-24 22:38:03 +03:00
IlyaShurupov
25b66804a4 Update Clang Format 2024-11-24 22:38:03 +03:00
IlushaShurupov
74aaf9a0a1 Adding outdated source code into master 2024-11-24 22:38:03 +03:00
IlushaShurupov
be206950f0 Updated TODO 2024-11-24 22:38:03 +03:00
IlushaShurupov
7b276e1005 LR(1) Parser Initial 2024-11-24 22:38:03 +03:00
IlushaShurupov
0e4f4228de Checking for non productive rules and loops in cfg 2024-11-24 22:38:03 +03:00
IlushaShurupov
16115b483a CFG remove unused rules 2024-11-24 22:38:03 +03:00
IlushaShurupov
2c8151ec3e Adding simple test fot cf grammar 2024-11-24 22:38:03 +03:00
IlushaShurupov
24d554abc3 Fixing list copy and grammar sentence generation 2024-11-24 22:38:03 +03:00
IlushaShurupov
ffb533ec9a Improve module initialization log 2024-11-24 22:38:03 +03:00
IlushaShurupov
d9ffb61712 Fixin cfg 2024-11-24 22:38:03 +03:00
IlushaShurupov
f5e9b041cd Fixin map 2024-11-24 22:38:03 +03:00
IlushaShurupov
259bf5a485 Generate sentences from cf grammar. Fix list initialization from copy constructor 2024-11-24 22:38:03 +03:00
IlushaShurupov
92e772cde1 Fixing tokenizer bug 2024-11-24 22:38:03 +03:00
IlushaShurupov
a938bf9bb1 CF Grammar improvements 2024-11-24 22:38:03 +03:00
IlushaShurupov
8feeb3d1c1 CF Grammar Initial 2024-11-24 22:38:03 +03:00
IlushaShurupov
42ee676bc9 Parser Initial 2024-11-24 22:38:03 +03:00
IlushaShurupov
cef0db6fb1 Adding some tokinizer checks for strings and comments 2024-11-24 22:38:03 +03:00
IlushaShurupov
4825d61486 Editing TODO 2024-11-24 22:38:03 +03:00
Ilusha
64960c6aff Update cmake.yml - sudo apt-get update before installing pacages 2024-11-24 22:38:03 +03:00
IlushaShurupov
17ad239692 Adding objects GUI initial. Changing TODO. Some fixes along side 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
3f4f2caf1f Load and destroy methods revised for proper reference counting
The update enhances object management by involving scope-based reference counting. The change affects loading and destruction operations in the Object and several other classes, ensuring the release or retention of objects adhere to their usage context. A function for logging type data has also been introduced to provide better clarity during debugging. Also, tests in script & interpreter have been altered to run in separate module initializations to avoid cross-test interference. Overall, it provides better memory management and dependable tests.
2024-11-24 22:38:03 +03:00
IlushaShurupov
ab0edfc302 Add Interpreter tests and improve Parser error logging
A set of tests for the InterpreterObject has been added to enhance its reliability and maintainability. The tests check the essential functionalities such as its creation, execution, saving, loading, and destruction. Furthermore, the error logging for the Parser has been improved, now providing more precise location of detected errors. The changes improve the robustness and debugability of the code.
2024-11-24 22:38:03 +03:00
IlushaShurupov
e0eb6e138d Refactor save size calculation with SaveSizeCounter
SaveSizeCounter is introduced and used for calculating the save size of objects. The previous method of calculating save size directly in each class was replaced with a call to the SaveSizeCounter's calc method. This results in a cleaner, more maintainable code as the size calculation logic is now centralized in one class. It is more efficient and scalable as any changes to the calculation can be made in one place and will be reflected everywhere.
2024-11-24 22:38:03 +03:00
IlushaShurupov
a679ab1c4b Objects adding dict test & fixes 2024-11-24 22:38:03 +03:00
IlushaShurupov
63029e6083 Adding Simple Objest test. Fixes some bugs 2024-11-24 22:38:03 +03:00
IlushaShurupov
edf0548046 Objects Compiled 2024-11-24 22:38:03 +03:00
IlyaShurupov
31e420b311 Archiver Initial 2024-11-24 22:38:03 +03:00
IlushaShurupov
4a5877784b Generating permutations and small buffer checks 2024-11-24 22:38:03 +03:00
IlushaShurupov
d3df3dde09 Objects Initial 2024-11-24 22:38:01 +03:00
IlushaShurupov
94057d2a66 Objects Initial 2024-11-24 22:36:45 +03:00
IlushaShurupov
0f639ba3b1 Freeze on no memory available 2024-11-24 22:36:45 +03:00
IlushaShurupov
41f7d978a9 Graphics Animations & Renaming 2024-11-24 22:36:45 +03:00
Ilusha
1e2ca13a15 Update cmake.yml to build Graphics 2024-11-24 22:36:45 +03:00
IlushaShurupov
8df79328cd Reorganize a little 2024-11-24 22:36:45 +03:00
IlushaShurupov
c375472bbe Adding nanovg 2024-11-24 22:36:45 +03:00
IlushaShurupov
aaa08e4495 New placement header 2024-11-24 22:36:45 +03:00
IlushaShurupov
f52b351cac Graphics module Initial (And some more fixes embedded) 2024-11-24 22:36:45 +03:00
Ilusha
98132ca2f5 Update cmake.yml - checkout submodules 2024-11-24 22:36:45 +03:00
IlushaShurupov
e50cb9f0e2 Small changes 2024-11-24 22:36:45 +03:00
IlushaShurupov
8c600a1cdb Restructure Storage Module -> Connection module 2024-11-24 22:36:45 +03:00
IlushaShurupov
f60e73fc32 Restructure 2024-11-24 22:36:45 +03:00
IlushaShurupov
58db6fe058 Command Line INterpreter with fixes 2024-11-24 22:36:45 +03:00
IlushaShurupov
32c7512b69 Fix File test 2024-11-24 22:36:45 +03:00
IlushaShurupov
038e6c58cf Networking Initial 2024-11-24 22:36:45 +03:00
IlushaShurupov
d5dfb1c304 Storage initial 2024-11-24 22:36:45 +03:00