Modules/Objects
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
..
applications Objects Compiled 2024-11-24 22:38:03 +03:00
private "Added new test 'Complex' and improved error debugging" 2024-11-24 22:38:03 +03:00
public Load and destroy methods revised for proper reference counting 2024-11-24 22:38:03 +03:00
rsc Objects Initial 2024-11-24 22:36:45 +03:00
tests "Added new test 'Complex' and improved error debugging" 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"