Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 17825

What is expected from a scripting language?

$
0
0
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?

Viewing all articles
Browse latest Browse all 17825

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>