about summary refs log tree commit diff stats
path: root/src/notes
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-24 09:35:12 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-24 09:35:12 -0700
commita3c090ce09c558aa84ec6a22a4478732ed6b962e (patch)
tree4fb853a6f6d7f36cbc2ffb47e791b5b4706d6d8b /src/notes
parentc80bafed747804da277a0f42d7c2f2a560505da1 (diff)
downloadteliva-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/notes14
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
previous revision' href='/akkartik/mu/blame/test_all_layers?h=main&id=ae244ebddc9f0c2952b2d79b3d6203f4431f9f53'>^
b31aaa21 ^
99a2c1a7 ^
6e01b890 ^





1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18