blob: f4aa0c6e08f37b88226f869e0a73b9aa80f10f19 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "LuaSL.h"
Eina_Bool compileLSL(gameGlobals *game, char *script)
{
Eina_Bool result = EINA_FALSE;
// Parse the LSL script, validating it and reporting errors.
// Take the result of the parse, and convert it into Lua source.
// Each LSL script becomes a Lua state.
// LSL states are handled as Lua tables, with each LSL state function being a table function in a common metatable.
// LL and OS functions are likely to be C functions.
// Compile the Lua source by the Lua compiler.
return result;
}
|