G-code Preview — API Reference
    Preparing search index...
    interface ParseLimits {
        maxBufferBytes: number;
        maxCallDepth: number;
        maxInputBytes: number;
        maxLineLength: number;
        maxProgramIterations: number;
        maxSegments: number;
        maxWarnings: number;
    }
    Index

    Properties

    maxBufferBytes: number
    maxCallDepth: number

    Subroutine call-recursion depth for an RS274NGC O-word program (DD-017 §4.5, Phase 3). A call that would exceed this depth is disclosed (rs274-call-depth) and skipped, so unbounded recursion cannot exhaust the stack. Irrelevant to FDM / non-parametric input.

    maxInputBytes: number
    maxLineLength: number
    maxProgramIterations: number

    Total loop work across an RS274NGC O-word program (DD-017 §4.5, Phase 2). Charged per loop pass and per statement executed inside a loop body; exceeding it stops the program with a partial IR and a rs274-iteration-limit disclosure, so a hostile o while [1] wastes only bounded CPU. Irrelevant to FDM / non-parametric input, which never enters the interpreter.

    maxSegments: number
    maxWarnings: number