LuaMindProgramCompiler

public final class LuaMindProgramCompiler

Compiles one declarative Lua table into an immutable Mind program.

The budget table contains soft callback, entity, and server scheduling limits. The runaway table contains hard cpu_micros and max_instructions limits. Existing programs may keep max_instructions in budget; new programs should put it in runaway so the two policies stay visibly separate.

Functions

Link copied to clipboard
public static MindProgram compile(LuaTable table)