Hi,
I've been working on extending an existing scripting language which lacks some important features, especially classes and inheritance.
To implement that feature, I have used a approach similar to how they did it with Lua tables. It turned out pretty good. But I wanted more, I want scripted classes to be able to inherit from real classes like a Lua table extending a C++ class. However, I realized that would be impossible or at least take a good amount of time to implement.
I haven't made many games so I can't answer this question myself: Is the ability to inherit from real classes expected from a scripting language?
If not, it would save me plenty of time. And I think, if someone really needs that feature, they are probably write too much in scripts instead of code.
What's your idea on this? Thanks for your time.
TL;DR: Is the ability of scripted classes to inherit from real classes necessary for a scripting language?
↧