My requirements are:
- Able to bind C++ function calls to the scripting language.
- Able to return data to the calling script.
- Able to support heavily templated libraries, such as glm (optional, but desirable)
- Must be lightweight.
- Must have open source license, or similar, with no restrictions on any potential commercial use.
How would I go about doing this, in a similar way to Lua?