VmEngine

A Lua VM engine

Constructors

this
this(immutable(ubyte)[] buffer, UUID id)

Create a new VM engine

Members

Functions

callf
Value[] callf(FunctionValue func, Value[] args)
Undocumented in source. Be warned that the author may not have intended to support it.
getToplevel
FunctionValue getToplevel(TableValue env)

Get the FunctionValue for the toplevel function

Variables

buffer
immutable(ubyte)[] buffer;

The bytecode buffer for this engine

Inherited Members

From Engine

ipTable
size_t[Fiber] ipTable;

The current instruction pointer of this engine

ip
size_t ip()

Get the current IP

ip
void ip(size_t value)

Set the current IP

id
UUID id;

A unique identifier for this engine

callf
Value[] callf(FunctionValue func, Value[] args)

Call a function value within this virtualization engine

Meta