Modules/Objects
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
..
applications Objects Compiled 2024-11-24 22:38:03 +03:00
private Refactor save size calculation with SaveSizeCounter 2024-11-24 22:38:03 +03:00
public Refactor save size calculation with SaveSizeCounter 2024-11-24 22:38:03 +03:00
rsc Objects Initial 2024-11-24 22:36:45 +03:00
tests Objects adding dict test & fixes 2024-11-24 22:38:03 +03:00
CMakeLists.txt Adding Simple Objest test. Fixes some bugs 2024-11-24 22:38:03 +03:00
README.md Objects Initial 2024-11-24 22:36:45 +03:00

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

  1. Types repository must be in the same directory.
  2. Export the parent path to the system variables.
setx SRC_DIR "parent path"