frenolfi / axgen

asterix datablock generator
9 stars 3 forks source link

Run lua script #1

Open aliilyas opened 11 years ago

aliilyas commented 11 years ago

Hello, can you provide more information about compilation and exection of your script. I'm new to lua, and after some research i found that i can run only .lua files)

frenolfi commented 11 years ago

The project is not yet complete. Actually, you can't compile anything useful in it's current form.

You can run scripts written in Lua (text files normally using the extension .lua) with the Lua interpreter.

You can also embed the interpreter in your own application and extend the language with your own routines (written in C, as the interpreter) or build a module providing your routines as a library that Lua can load at runtime.

That way, you can run more than just bare Lua code.

You may want to start your research in this direction with: