Modules/Objects
IlushaShurupov 55571ca3dd 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.
2023-08-01 20:06:34 +03:00
..
applications Objects Compiled 2023-07-31 08:04:14 +03:00
private Load and destroy methods revised for proper reference counting 2023-08-01 20:06:34 +03:00
public Load and destroy methods revised for proper reference counting 2023-08-01 20:06:34 +03:00
rsc Objects Initial 2023-07-25 08:11:19 +03:00
tests Load and destroy methods revised for proper reference counting 2023-08-01 20:06:34 +03:00
CMakeLists.txt Adding Simple Objest test. Fixes some bugs 2023-07-31 20:16:05 +03:00
README.md Objects Initial 2023-07-25 08:11:19 +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"