Dump of Lua's instruction
main <sample.lua:0,0> (8 instructions at 0x600000604000)
0+ params, 3 slots, 1 upvalue, 0 locals, 1 constant, 1 function
1 [1] VARARGPREP 0
2 [3] CLOSURE 0 0 ; 0x600000604080
3 [1] SETTABUP 0 0 0 ; _ENV "hello"
4 [5] GETTABUP 0 0 0 ; _ENV "hello"
5 [5] LOADI 1 3
6 [5] LOADI 2 5
7 [5] CALL 0 3 1 ; 2 in 0 out
8 [5] RETURN 0 1 1 ; 0 out
function <sample.lua:1,3> (5 instructions at 0x600000604080)
2 params, 4 slots, 1 upvalue, 2 locals, 1 constant, 0 functions
1 [2] GETTABUP 2 0 0 ; _ENV "print"
2 [2] ADD 3 0 1
3 [2] MMBIN 0 1 6 ; __add
4 [2] CALL 2 2 1 ; 1 in 0 out
5 [3] RETURN0