Skip to content

Architecture & Core Concepts

This section explains the theoretical foundations, metamodel concepts, and real-time execution semantics implemented by fsmc.


Section Contents

Topic Description Link
States & HFSM Hierarchy Atomic states, composite submachines, shallow [H] & deep [H*] history pseudostates. States & Hierarchy
Transitions & Triggers Event signals with typed payloads, timed triggers (after/every), and internal transitions. Transitions & Triggers
Guards & Action Effects Boolean condition trees (and, or, not), choice nodes, entry/exit/do effect actions. Guards & Actions
Memory & Real-Time Guarantees Deterministic O(1) dispatching, zero heap allocations, and WCET bounds. Memory & Real-Time

Core Semantic Model

fsmc implements the OMG UML 2.5 / SysML v2 State Machine semantics tailored for safety-critical embedded systems. Every state machine model is canonicalized into a strongly-typed Intermediate Representation (FsmIr) ensuring mathematical determinism and formal verifiable soundness before code emission.