8000 [Low] Add FSM Tests and Support · Issue #86 · Mnehmos/mnehmos.nls.lang · GitHub
[go: up one dir, main page]

Skip to content

[Low] Add FSM Tests and Support #86

Closed

Description

@Mnehmos

Audit Finding: No FSM support (Issue #3) fully tested.
Recommendation: Add FSM tests for state machine patterns.

Activity

  1. added this to the Phase 4: Ecosystem milestone on Jan 18, 2026
  2. Mnehmos commented on Mar 17, 2026

    @Mnehmos
    OwnerAuthor

    Backlog: FSM support is an interesting extension but not on the critical path to v0.1, v0.5, or v1.0. No milestone assigned. Revisit after v0.5 ships.

  3. Mnehmos commented on Sep 12, 2026

    @Mnehmos
    OwnerAuthor

    Audited against current master — FSM support is tested at every layer, so the audit finding is stale:

    • Parsing: tests/test_fsm.py (10 tests) covers [state-name] prefixes, optional state names, output bindings, IF/THEN conditionals, and full FSM-style steps.
    • Derivation: test_get_fsm_states and test_fsm_transitions pin the state list and transition edges from dependencies.
    • Emission: tests/test_graph.py::test_emit_fsm_mermaid covers the FSM state diagram output.
    • End to end: examples/features/fsm.nl is a strictly-verified corpus example (state markers through the full compile/test/ci pipeline), and nlsc graph --anlu ... --format mermaid selects the FSM view when state names are present.

    Closing as delivered.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      0