Documentation ¶
Index ¶
- Constants
- func CheckList(ls LkState, idx int) []any
- func CheckTable(ls LkState, idx int) lkMap
- func OpenBaseLib(ls LkState) int
- func OpenCoroutineLib(ls LkState) int
- func OpenHttpLib(ls LkState) int
- func OpenMathLib(ls LkState) int
- func OpenNumLib(ls LkState) int
- func OpenOSLib(ls LkState) int
- func OpenPackageLib(ls LkState) int
- func OpenStringLib(ls LkState) int
- func OpenTableLib(ls LkState) int
- func OpenTermLib(ls LkState) int
- func OpenUTF8Lib(ls LkState) int
- func OptList(ls LkState, idx int, dft []any) []any
- func OptTable(ls LkState, idx int, dft lkMap) lkMap
Constants ¶
View Source
const ( LUA_DIRSEP = string(os.PathSeparator) LUA_PATH_SEP = ";" LUA_PATH_MARK = "?" LUA_EXEC_DIR = "!" LUA_IGMARK = "-" )
View Source
const LUA_LOADED_TABLE = "_LOADED"
key, in the registry, for table of loaded modules
View Source
const LUA_PRELOAD_TABLE = "_PRELOAD"
key, in the registry, for table of preloaded loaders
View Source
const MAX_UNICODE = 0x10FFFF
View Source
const UTF8PATT = "[\x00-\x7F\xC2-\xF4][\x80-\xBF]*"
pattern to match a single UTF-8 character
Variables ¶
This section is empty.
Functions ¶
func CheckTable ¶
func CheckTable(ls LkState, idx int) lkMap
func OpenCoroutineLib ¶
func OpenCoroutineLib(ls LkState) int
func OpenHttpLib ¶
func OpenHttpLib(ls LkState) int
func OpenMathLib ¶
func OpenMathLib(ls LkState) int
func OpenNumLib ¶
func OpenNumLib(ls LkState) int
func OpenPackageLib ¶
func OpenPackageLib(ls LkState) int
func OpenStringLib ¶
func OpenStringLib(ls LkState) int
func OpenTableLib ¶
func OpenTableLib(ls LkState) int
func OpenTermLib ¶
func OpenTermLib(ls LkState) int
func OpenUTF8Lib ¶
func OpenUTF8Lib(ls LkState) int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.