Skip to content
EN FR

Execution Model

Reference: This page is a source-based technical synthesis of the LaTeX chapter cited below. For exact syntax, availability or ABI signatures, verify the versioned source, manifest and executable tests.

Scope and source boundary

The execution model distinguishes instruction structures and interpreters from the declarative definitions that select them.

Execution contexts carry the state and environment in which runtime instructions, actions and processes operate. The source separates metadata and logical definitions from interpreter stacks, instruction trees and operational state. A call must be interpreted in the correct context, including ownership and lifetime.

Engineering rules

  • Select the relevant execution engine for the declared operation.
  • Make input context, output, error and cancellation behavior observable.
  • Keep reusable definitions separate from mutable operation and session state.
  • Release contexts, cursors and resources at their intended lifetime boundary.

Source chapter topics (public ABI naming)

  • The Core Pattern
  • Building an Instruction Container
  • Selection as a Validation Boundary
  • SimpleTextExecutionEngine
  • Generating SQL from Instructions
  • Deferred Table-Creation Instructions

LaTeX provenance

Primary chapter: Runtime/logiCells Runtime Programming with RadStudio/instruction-trees-and-execution-engines.tex.

Browse documentation by task.