Added tangible_make to world

This commit is contained in:
2021-01-17 16:23:10 -05:00
parent 313e78067a
commit 1f898afdd4
5 changed files with 94 additions and 9 deletions

View File

@@ -3,10 +3,13 @@
//
// LUASTACK
//
// Class LuaStack lets you create "lua local variables." These are
// variables that seem to store lua values. Class LuaStack also provides
// accessors like "rawget" that reference lua local variables instead of
// using the lua stack.
// The standard lua C API asks you to work with a stack machine. You're supposed
// to manually push and pop values on the lua stack. I find this difficult, I
// find it hard to remember what stack position contains what value.
//
// To make it easier, I've created this module, "LuaStack." This module
// creates the illusion that you're working with local variables that contain
// lua values.
//
// Of course, this is all using the lua stack under the covers. Lua
// local variables are actually just lua stack addresses. But that's