|
On Jun 28, 2014, at 4:00 AM, Austin Einter <austin.einter@gmail.com> wrote:Unless you embed your Lua code into your C code, then you still have to compile your C code for your Lua changes to take effect. Frequently there is a separation of coding duties between C-land and Lua-land, which is why it can be helpful for your program to be able to dynamically load the scripts externally. This way the scripts can be modified without requiring the program to be recompiled, at least for debugging builds. For release builds you can do any number of things, including embedding pre-compiled Lua scripts if you do not require the scripts to change at run time.
> With all your help, I got it working.
>
> It is really a pleasure to work with C/Lua combination as frequent C code modification can be avoided.
>
> Austin
Happy to hear you got your script up and running, good luck with your future Lua endeavours! :)
~pmd