|
|
|
|
|
by jsd1982
2447 days ago
|
|
I'm not sure which embedded platform you're using but give AngelScript [0] a look. I've been using it to extend some C++ code (bsnes emulator) and it's been fantastic. It's so nice to have a C++-like scripting language with natural script-host bindings that I don't have to think hard about creating or spend a lot of time writing marshalling code or worrying about memory layouts. On top of that nice script-host interface you get an actual usable scripting language without silly things like 1-based array indices. That said, it does not come with any sort of standard packages like luasocket but there is support for defining your own modules. Depending on the embedded platform you're using, there may not be support for the native calling convention and you may have to fall back to the generic calling convention, or you could roll your own code to accommodate your platform's calling convention. [0] https://www.angelcode.com/angelscript/ |
|