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. |
||
|---|---|---|
| .. | ||
| applications | ||
| private | ||
| public | ||
| rsc | ||
| tests | ||
| CMakeLists.txt | ||
| README.md | ||
Objects
Objects are simple structures with run-time type information attached.
Features
- Encapsulates most of the basic types into primitives.
- Has its own scripting language to manipulate those objects at run-time.
- Can save and load any object at any point in execution.
TODO
- Dubug information support
- Run-time error handling
- Dead code elimination & optimization
Building
- Types repository must be in the same directory.
- Export the parent path to the system variables.
setx SRC_DIR "parent path"