MiniQuake

src/miniquake/compat_diagnostics.ml

Package
miniquake.compat_diagnostics
Reachable
Yes

Imports

Declarations

activeEdicts

function activeEdicts(session)

Report whether active edicts holds for the active state.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `activeEdicts`.

View source

activeServerClients

function activeServerClients(session)

Report whether active server clients holds for the active state.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `activeServerClients`.

View source

beginFrame

function beginFrame(session)

Initialize state for begin frame.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `beginFrame`.

View source

boolText

function boolText(value)

Implements the `boolText` operation for `miniquake.compat_diagnostics` (bool text).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `boolText`.

View source

checkpoint

function checkpoint(session, stage)

Checks point for `miniquake.compat_diagnostics`.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `checkpoint`.
stagedynamic—The stage input consumed by `checkpoint`.

View source

clientContextJson

function clientContextJson(session)

Implements the `clientContextJson` operation for `miniquake.compat_diagnostics` (client context json).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `clientContextJson`.

View source

completeFrame

function completeFrame(session)

Handle frame and update the associated state.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `completeFrame`.

View source

CONTEXT_SCHEMA

const CONTEXT_SCHEMA = 1

Defines the context schema value used by `miniquake.compat_diagnostics`.

View source

contextJson

function contextJson(session, phase, errorText)

Implements the `contextJson` operation for `miniquake.compat_diagnostics` (context json).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `contextJson`.
phasedynamic—The phase input consumed by `contextJson`.
errorTextdynamic—The error text input consumed by `contextJson`.

View source

f32Hex

function f32Hex(value)

Implements the `f32Hex` operation for `miniquake.compat_diagnostics` (f32 hex).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `f32Hex`.

View source

failFrame

function failFrame(session, message)

Report frame and return the corresponding failure status.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `failFrame`.
messagedynamic—Diagnostic message that explains a failure or event.

View source

filteredFrame

function filteredFrame(session)

Implements the `filteredFrame` operation for `miniquake.compat_diagnostics` (filtered frame).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `filteredFrame`.

View source

hostContextJson

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.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `hostContextJson`.

View source

jsonEscape

function jsonEscape(text)

Implements the `jsonEscape` operation for `miniquake.compat_diagnostics` (json escape).

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.

View source

jsonString

function jsonString(text)

Implements the `jsonString` operation for `miniquake.compat_diagnostics` (json string).

ParameterTypeDefaultDescription
textdynamic—Text to parse or process.

View source

lastStage

function lastStage(session)

Return last stage for the active module state.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `lastStage`.

View source

persist

function persist(session, phase, errorText)

Implements the `persist` operation for `miniquake.compat_diagnostics` (persist).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `persist`.
phasedynamic—The phase input consumed by `persist`.
errorTextdynamic—The error text input consumed by `persist`.

View source

playerContextJson

function playerContextJson(session)

Implements the `playerContextJson` operation for `miniquake.compat_diagnostics` (player context json).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `playerContextJson`.

View source

postFrameStage

function postFrameStage(session, stage)

Implements the `postFrameStage` operation for `miniquake.compat_diagnostics` (post frame stage).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `postFrameStage`.
stagedynamic—The stage input consumed by `postFrameStage`.

View source

qcCallDepth

function qcCallDepth(session)

Implements the `qcCallDepth` operation for `miniquake.compat_diagnostics` (qc call depth).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `qcCallDepth`.

View source

qcFunctionName

function qcFunctionName(session)

Return qc function name derived from the active module state.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `qcFunctionName`.

View source

qcStatement

function qcStatement(session)

Implements the `qcStatement` operation for `miniquake.compat_diagnostics` (qc statement).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `qcStatement`.

View source

quakeCContextJson

function quakeCContextJson(session)

Implements the `quakeCContextJson` operation for `miniquake.compat_diagnostics` (quake c context json).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `quakeCContextJson`.

View source

serverContextJson

function serverContextJson(session)

Implements the `serverContextJson` operation for `miniquake.compat_diagnostics` (server context json).

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `serverContextJson`.

View source

stageJson

function stageJson(stages)

Implements the `stageJson` operation for `miniquake.compat_diagnostics` (stage json).

ParameterTypeDefaultDescription
stagesdynamic—The stages input consumed by `stageJson`.

View source

stageText

function stageText(stages)

Implements the `stageText` operation for `miniquake.compat_diagnostics` (stage text).

ParameterTypeDefaultDescription
stagesdynamic—The stages input consumed by `stageText`.

View source

stageTraceEnabled

inline function stageTraceEnabled(session)

Report whether stage trace enabled holds for the active state.

ParameterTypeDefaultDescription
sessiondynamic—The session input consumed by `stageTraceEnabled`.

View source

u32Hex

function u32Hex(value)

Implements the `u32Hex` operation for `miniquake.compat_diagnostics` (u32 hex).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `u32Hex`.

View source

vecJson

function vecJson(value)

Implements the `vecJson` operation for `miniquake.compat_diagnostics` (vec json).

ParameterTypeDefaultDescription
valuedynamic—Value consumed by `vecJson`.

View source