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
Scripting front-end(s) on top of the CEmu IPC #19
Comments
Reopened because brainstorming never hurts :D |
Since I work on C++<->Lua integration on a daily basis at work, I feel like I would be inclined to think about some Lua(/LuaJIT) integration into CEmu. Ideally, the main core functions would be exposed, including debugging-related ones, and of course all of the GUI should be accessible programmatically too. I'm assigning myself to this task, but oh well, I have no idea when I'm going to work on that. CEmu might reach 3.0 by then :P Any ideas/suggestions/brainstorming/comments welcome... |
For fun, I added a few lines here and there on a with_lua branch to get something to build (just on my machine ; it's very WIP). sol::state lua;
int x = 0;
lua.set_function("beep", [&x]{ ++x; });
lua.script("beep()");
assert(x == 1); I'll look into how to integrate LuaJIT, apparently it's not so hard to call an external makefile from within the .pro. Then, it would be a static lib to use. Then of course, the big part will be what/where/how to bind Qt (+ core) methods properly. |
Let's just close that in favor of #252. |
In issue #17 , alberthdev mentioned Lua scripting for triggering operations on CEmu instances. This is the brainstorming issue for scripting front-ends on top of the IPC (issue #16 ); the technical choices for scripting will depend on (and perhaps slightly influence ?) the choices for the IPC mechanism.
The text was updated successfully, but these errors were encountered: