Since I’m having untracable issues with Lua due to its API and lackluster documentation, I’ve decided to drop it from my game engine (PixelPerfectEngine) in favor of some easier to use alternatives.
What I need is:
- open source
- small footprint even if it at the cost of some complexity (I need it as a scripting engine, not as a replacement for compiled application languages)
- integer support (I don’t care if I could just round it on the backend)
- C or C++ ABI
- can be embedded into a software (yes, there are people that suggest you to use janky solutions like passing data in files and command line)
Even a better Lua implementation would suffice, and if I had the time, I would port the official one to D (my main language), while getting rid of the godawful stack method of control.
gdscript is awesome but isn’t plug-and-play embed like Lua is. Here is an example of gdscript being pulled into another environment https://github.com/gdscript-online/gdscript-online.github.io This kind of breaks your last bullet point though since it’s not as developed as it should be but still possible to actually embed.
angelscript is interesting http://www.angelcode.com/angelscript/ and hits all the points you made.
squirrel also is interesting and is lua inspired. http://squirrel-lang.org/ It’s fairly well used.
https://github.com/dbohdan/embedded-scripting-languages is a large list of embedded languages that should be easy enough to embed.
deleted by creator
It’s supposed to be modular and embeddable but they’ve not really focused on it.