stdlib

package
v0.3.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 19, 2023 License: MIT Imports: 24 Imported by: 0

Documentation

Index

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 CheckList

func CheckList(ls LkState, idx int) []any

func CheckTable

func CheckTable(ls LkState, idx int) lkMap

func OpenBaseLib

func OpenBaseLib(ls LkState) int

lua-5.3.4/src/lbaselib.c#luaopen_base()

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 OpenOSLib

func OpenOSLib(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

func OptList

func OptList(ls LkState, idx int, dft []any) []any

func OptTable

func OptTable(ls LkState, idx int, dft lkMap) lkMap

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL