You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Explicit state machines improve conformance verification
"Goldilocks zone" - optimal formality depends on model capacity
Proposed Syntax
[process-order]
PURPOSE: Process a customer order
INPUTS:
• order: Order
LOGIC:
1. [validate] Check order items are in stock → valid_order
2. [charge] Process payment for valid_order → payment_result
3. [fulfill] IF payment_result.success THEN ship order
4. [notify] Send confirmation to customer
RETURNS: ProcessResult with status, tracking_number
Features
[state_name] - named state for FSM
→ variable - explicit output binding
IF condition THEN - conditional transitions
Creates verifiable execution graph
Implementation Tasks
Parse [state_name] prefix in LOGIC lines
Parse → variable output binding
Parse IF condition THEN conditionals
Build FSM graph from LOGIC steps
Add --fsm flag to emit state machine diagram
References
arXiv 2512.18940 (FASTRIC) - FSM specification language
Activity
feat(parser): implement FSM-style state names in LOGIC steps
feat(parser): implement FSM-style state names in LOGIC steps (#7)
feat(tests): add semantic test suite for Core NLS semantics
feat(tests): add semantic test suite for Core NLS semantics