Quote:
Originally Posted by Stefan
Graal uses a more dynamic class system instead of a compiler-based class system, those things cannot be mixed easily. Graal demands objects to be dynamic, you can create and modify the objects at any time.
|
Perhaps you should use Python as a reference for how you would want to improve GScript, it has a dynamic class system where classes (types) can be created dynamically and objects can optionally have dynamic variables using a hash table. The same type objects are used for static (built-in) types as with dynamic types.
I'm a person who dislikes reinventing the wheel, which is why I always make suggestions about using Python, because I think while it make take alot of effort (binding using Boost.Python, applying security changes to Python source, converting scripts) to convert in the short term, it would be better for the longevity of Graal if you want Graal to continue for years to come.