2. The language
- 2.1. Lexical Structure
- 2.2. Values and Data types
- 2.3. Execution Context
- 2.4. Statements
- 2.5. Expressions
- 2.6. Tables
- 2.7. Arrays
- 2.8. Functions
- 2.9. Classes
- 2.10. Generators
- 2.11. Constants & Enumerations
- 2.12. Threads
- 2.13. Weak References
- 2.14. Delegation
- 2.15. Metamethods
- 2.16. Built-in Functions
- 2.16.1. Global Symbols
getstacktop()
getstacksize()
array()
geterrorhandler()
seterrorhandler()
callee()
setdebughook()
enabledebuginfo()
getroottable()
setroottable()
getconsttable()
setconsttable()
getdefaultdelegate()
assert()
print()
error()
compilestring()
collectgarbage()
resurrectunreachable()
type()
getstackinfos()
newthread()
_versionnumber_
_version_
_charsize_
_intsize_
_floatsize_
- 2.16.1.1. Default delegates
- 2.16.2. Integer
- 2.16.3. Float
- 2.16.4. Bool
- 2.16.5. String
- 2.16.6. Table
- 2.16.7. Array
- 2.16.8. Function
- 2.16.9. Class
- 2.16.10. Class Instance
- 2.16.11. Generator
- 2.16.12. Thread
- 2.16.13. Weak Reference
- 2.16.1. Global Symbols