teliva/src/notes

13 lines
225 B
Plaintext

// Main thread combines a thread state and the global state
typedef struct LG {
lua_State l;
global_State g;
} LG;
lua_State:
&{Value; int tt} stack, stack_last, base, top
== todo stack
lua_newstate
lua_State's stack