Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abstract the ScriptInterpreter to allow for multiple implementations (Lua, Python, C#) #296

Open
adriengivry opened this issue Dec 15, 2023 · 0 comments
Labels
Feature New feature to the engine

Comments

@adriengivry
Copy link
Owner

Problem this feature should fix
Our ScriptInterpreter is currently implemented to work only with Lua.

Expected solution
We could provide a scripting interface that could be implemented by scripting languages, and used by OvCore to bind functions to any scripting language. We could find functions to bind through a reflection library (https://github.com/rttrorg/rttr) or by manually registering them from OvCore. The interface would dispatch these registration calls to the selected scripting language.

@adriengivry adriengivry added the Feature New feature to the engine label Dec 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature to the engine
Projects
None yet
Development

No branches or pull requests

1 participant