# activeEdicts
function activeEdicts(session)Report whether active edicts holds for the active state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `activeEdicts`. |
src/miniquake/compat_diagnostics.mlminiquake/build_info.ml as buildInfo → src/miniquake/build_info.mlminiquake/native.ml as native → src/miniquake/native.mlminiquake/optimization_baseline.ml as optBaseline → src/miniquake/optimization_baseline.mlminiquake/quakec/vm.ml as vm → src/miniquake/quakec/vm.mlminiquake/types.ml as t → src/miniquake/types.mlstd/fs.ml as fs → ../MiniLangCompilerOptimization/MiniLangCompilerPy/std/fs.ml external dependencyfunction activeEdicts(session)Report whether active edicts holds for the active state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `activeEdicts`. |
function activeServerClients(session)Report whether active server clients holds for the active state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `activeServerClients`. |
function beginFrame(session)Initialize state for begin frame.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `beginFrame`. |
function boolText(value)Implements the `boolText` operation for `miniquake.compat_diagnostics` (bool text).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `boolText`. |
function checkpoint(session, stage)Checks point for `miniquake.compat_diagnostics`.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `checkpoint`. |
stage | dynamic | — | The stage input consumed by `checkpoint`. |
function clientContextJson(session)Implements the `clientContextJson` operation for `miniquake.compat_diagnostics` (client context json).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `clientContextJson`. |
function completeFrame(session)Handle frame and update the associated state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `completeFrame`. |
const CONTEXT_SCHEMA = 1Defines the context schema value used by `miniquake.compat_diagnostics`.
function contextJson(session, phase, errorText)Implements the `contextJson` operation for `miniquake.compat_diagnostics` (context json).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `contextJson`. |
phase | dynamic | — | The phase input consumed by `contextJson`. |
errorText | dynamic | — | The error text input consumed by `contextJson`. |
function f32Hex(value)Implements the `f32Hex` operation for `miniquake.compat_diagnostics` (f32 hex).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `f32Hex`. |
function failFrame(session, message)Report frame and return the corresponding failure status.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `failFrame`. |
message | dynamic | — | Diagnostic message that explains a failure or event. |
function filteredFrame(session)Implements the `filteredFrame` operation for `miniquake.compat_diagnostics` (filtered frame).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `filteredFrame`. |
function hostContextJson(session)The MiniLang Win64 backend reserves a bounded expression-temporary area. Keep serialized records as short, ordered appends instead of one very deep binary + tree. This preserves the BP-001 byte format while compiling safely.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `hostContextJson`. |
function jsonEscape(text)Implements the `jsonEscape` operation for `miniquake.compat_diagnostics` (json escape).
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text to parse or process. |
function jsonString(text)Implements the `jsonString` operation for `miniquake.compat_diagnostics` (json string).
| Parameter | Type | Default | Description |
|---|---|---|---|
text | dynamic | — | Text to parse or process. |
function lastStage(session)Return last stage for the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `lastStage`. |
function persist(session, phase, errorText)Implements the `persist` operation for `miniquake.compat_diagnostics` (persist).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `persist`. |
phase | dynamic | — | The phase input consumed by `persist`. |
errorText | dynamic | — | The error text input consumed by `persist`. |
function playerContextJson(session)Implements the `playerContextJson` operation for `miniquake.compat_diagnostics` (player context json).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `playerContextJson`. |
function postFrameStage(session, stage)Implements the `postFrameStage` operation for `miniquake.compat_diagnostics` (post frame stage).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `postFrameStage`. |
stage | dynamic | — | The stage input consumed by `postFrameStage`. |
function qcCallDepth(session)Implements the `qcCallDepth` operation for `miniquake.compat_diagnostics` (qc call depth).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `qcCallDepth`. |
function qcFunctionName(session)Return qc function name derived from the active module state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `qcFunctionName`. |
function qcStatement(session)Implements the `qcStatement` operation for `miniquake.compat_diagnostics` (qc statement).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `qcStatement`. |
function quakeCContextJson(session)Implements the `quakeCContextJson` operation for `miniquake.compat_diagnostics` (quake c context json).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `quakeCContextJson`. |
function serverContextJson(session)Implements the `serverContextJson` operation for `miniquake.compat_diagnostics` (server context json).
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `serverContextJson`. |
function stageJson(stages)Implements the `stageJson` operation for `miniquake.compat_diagnostics` (stage json).
| Parameter | Type | Default | Description |
|---|---|---|---|
stages | dynamic | — | The stages input consumed by `stageJson`. |
function stageText(stages)Implements the `stageText` operation for `miniquake.compat_diagnostics` (stage text).
| Parameter | Type | Default | Description |
|---|---|---|---|
stages | dynamic | — | The stages input consumed by `stageText`. |
inline function stageTraceEnabled(session)Report whether stage trace enabled holds for the active state.
| Parameter | Type | Default | Description |
|---|---|---|---|
session | dynamic | — | The session input consumed by `stageTraceEnabled`. |
function u32Hex(value)Implements the `u32Hex` operation for `miniquake.compat_diagnostics` (u32 hex).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `u32Hex`. |
function vecJson(value)Implements the `vecJson` operation for `miniquake.compat_diagnostics` (vec json).
| Parameter | Type | Default | Description |
|---|---|---|---|
value | dynamic | — | Value consumed by `vecJson`. |