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. |
||
|---|---|---|
| .. | ||
| 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"