<?phpnamespace App\Alis\Compiled;use App\Alis\ScriptLive;/** * A script of the game compiled to PHP (App\Alis\Compiled\Compiler): run() executes it from its program counter * until it stops (end of its turn) or the frame's budget of instructions is spent (VmYield), exactly like the VM's * loop (Machine::loop) but without reading the byte code: each instruction is PHP, its operands decoded once. */abstract class CompiledScript{ /** @var int instructions compiled to PHP / interpreted at their address (statistics) */ public int $native = 0; public int $interpreted = 0; abstract public function run(ScriptLive $s, int &$budget): void;}