diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 09:35:12 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-10-24 09:35:12 -0700 |
commit | a3c090ce09c558aa84ec6a22a4478732ed6b962e (patch) | |
tree | 4fb853a6f6d7f36cbc2ffb47e791b5b4706d6d8b /src/notes | |
parent | c80bafed747804da277a0f42d7c2f2a560505da1 (diff) | |
download | teliva-a3c090ce09c558aa84ec6a22a4478732ed6b962e.tar.gz |
get rid of LUAI_EXTRASPACE
Lua's power may come from extensibility, but the indirections are currently in the way
Diffstat (limited to 'src/notes')
-rw-r--r-- | src/notes | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/notes b/src/notes new file mode 100644 index 0000000..213bba7 --- /dev/null +++ b/src/notes @@ -0,0 +1,14 @@ +// 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 +delete statesize/from_state/to_state +eradicate LUAI_EXTRASPACE +lua_newstate +lua_State's stack |