Hi all,
this is just a fix idea: I played a little bit with scripts and thought that it would be nice to have some more options to write nice scripts. But creating a complete new parser and script engine maybe beyond the scope of QLC+. So my idea is to use an extendible and existinging script-engine like Lua.
I really don't know how difficult it maybe to add Lua as a script object. Perhaps some of the coding cracks can estimate if this idea is worth to test?
Regards, Holger
Idea: Lua for script functions?
-
- Posts: 7
- Joined: Thu Jan 14, 2016 7:16 am
- Real Name: Holger
Hi all,
I've just started a little test with a current checkout of QLC+. I added the main control function of lua and linked against liblua. This works fine. So the hard work will be to write C/C++ implementations for lua functions and "connect" the QLC+-editor with the lua interpreter.
I just have not much time free for working on this, but until then the specification of this sub-project can be done.
Regards, Holger
I've just started a little test with a current checkout of QLC+. I added the main control function of lua and linked against liblua. This works fine. So the hard work will be to write C/C++ implementations for lua functions and "connect" the QLC+-editor with the lua interpreter.
I just have not much time free for working on this, but until then the specification of this sub-project can be done.
Regards, Holger