Additional lua globals
STDLIB.install_table() | install the Table library into global table |
STDLIB.install_math() | Install the Math library into global math |
STDLIB.install_string() | Install the string library into global string |
STDLIB.install_global_utils() | Install Math, String, Table into their global counterparts. |
STDLIB.reload_class() | Reload a required file, NOT IMPLEMENTED |
STDLIB.create_stdlib_globals([files]) | load the stdlib into globals, by default it loads everything into an ALLCAPS name. |
install the Table library into global table
Install the Math library into global math
Install the string library into global string
Install Math, String, Table into their global counterparts.
Reload a required file, NOT IMPLEMENTED
load the stdlib into globals, by default it loads everything into an ALLCAPS name.
Alternatively you can pass a dictionary of [global names] -> [require path]
.
STDLIB.create_stdlib_globals()