-
-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
Quahu edited this page May 23, 2023
·
5 revisions
-
Lua refers to the programming language.
-
Luarefers to theLaylua.Luatype. -
Lua interactions rely on the usage of a Lua state. In Laylua, the following types all represent a Lua state:
-
Laylua.Luarepresents the high-level state and encompasses the low-level state. -
Laylua.Moon.LuaStaterepresents the low-level state. -
Laylua.Moon.lua_Statepassed using a pointer is required by every Lua C API method
Throughout this wiki, the term "Lua state" will generally refer to
Laylua.Lua, unless specified otherwise. -
There are two main namespaces Laylua uses:
LayluaLaylua.Moon
Laylua contains the high-level library code, while Laylua.Moon contains the low-level library code, including the Lua C API.