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

Dynamic language support #1

Open
NTSFka opened this issue Sep 14, 2016 · 0 comments
Open

Dynamic language support #1

NTSFka opened this issue Sep 14, 2016 · 0 comments

Comments

@NTSFka
Copy link
Contributor

NTSFka commented Sep 14, 2016

Standard plugins support Python language but it requires explicit support from specific plugin for user to manipulate objects from that plugin. That specific plugin must be loaded by simulation which can be easily forgotten.
The main idea is offer an uniform interface for plugins to export own functions which can manipulate their data and dynamic language (like Python) can connect to this interface - no specific plugins will not be required.

Function & method callback idea:

Value function(DynamicArray<Value>& args);
Value method(Value& self, DynamicArray<Value>& args);

Where Value is class which store value and it's type (like std::any).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant