# README
Lua VM in go
Note This is a FORK of yuin/gopher-lua with some tweaks that useful only in the context of awirix
# Functions
No description provided by the author
LVIsFalse returns false if a given LValue is a nil or false otherwise true.
LVAsNumber tries to convert a given LValue to a number.
LVAsString returns string representation of a given LValue if the LValue is a string or number, otherwise an empty string.
LVCanConvToString returns true if a given LValue is a string or number otherwise false.
LVIsFalse returns true if a given LValue is a nil or false otherwise false.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
BaseLibName is here for consistency; the base functions have no namespace/library.
ChannelLibName is the name of the channel Library.
CoroutineLibName is the name of the coroutine Library.
DebugLibName is the name of the debug Library.
No description provided by the author
FramesPerSegment should be a power of 2 constant for performance reasons.
No description provided by the author
IoLibName is the name of the io Library.
No description provided by the author
No description provided by the author
LoadLibName is here for consistency; the loading system has no namespace/library.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MathLibName is the name of the math Library.
No description provided by the author
A B C R(A) := RK(B) + RK(C) */.
A B C R(A) ..
A close all variables in the stack up to (>=) R(A)*/.
A Bx R(A) := closure(KPROTO[Bx] R(A) ..
A B C R(A) := R(B).
A B C R(A) := RK(B) / RK(C) */.
A B C if ((RK(B) == RK(C)) ~= A) then pc++ */.
A sBx R(A)+=R(A+2);
if R(A) <?= R(A+1) then { pc+=sBx; R(A+3)=R(A) }*/.
A sBx R(A)-=R(A+2); pc+=sBx */.
A Bx R(A) := Gbl[Kst(Bx)] */.
A B C R(A) := R(B)[RK(C)] */.
A B C R(A) := R(B)[RK(C)] ; RK(C) is constant string */.
A B R(A) := UpValue[B] */.
sBx pc+=sBx */.
A B C if ((RK(B) <= RK(C)) ~= A) then pc++ */.
A B R(A) := length of R(B) */.
A B C R(A) := (Bool)B; if (C) pc++ */.
A Bx R(A) := Kst(Bx) */.
A B R(A) := ..
A B C if ((RK(B) < RK(C)) ~= A) then pc++ */.
A B C R(A) := RK(B) % RK(C) */.
A B R(A) := R(B) */.
A B R(A) := R(B); followed by R(C) MOVE ops */.
A B C R(A) := RK(B) * RK(C) */.
A B C R(A) := {} (size = BC) */.
NOP */.
A B R(A) := not R(B) */.
A B C R(A) := RK(B) ^ RK(C) */.
A B return R(A) ..
A B C R(A+1) := R(B); R(A) := R(B)[RK(C)] */.
A Bx Gbl[Kst(Bx)] := R(A) */.
A B C R(A)[(C-1)*FPF+i] := R(A+i) 1 <= i <= B */.
A B C R(A)[RK(B)] := RK(C) */.
A B C R(A)[RK(B)] := RK(C) ; RK(B) is constant string */.
A B UpValue[B] := R(A) */.
A B C R(A) := RK(B) - RK(C) */.
A B C return R(A)(R(A+1) ..
A C if not (R(A) <=> C) then pc++ */.
A B C if (R(B) <=> C) then R(A) := R(B) else pc++ */.
A C R(A+3) ..
A B R(A) := -R(B) */.
A B R(A) R(A+1) ..
OsLibName is the name of the os Library.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
StringLibName is the name of the string Library.
TabLibName is the name of the table Library.
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Options is a configuration that is used to create a new LState.
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author