A cross-platform Swift library for finite state machines (FSMs) and FSM conversion tools.
swift-fsmlib provides robust, type-safe tools for defining, analysing, and converting finite state machines. Its design is idiomatic Swift, supporting both macOS and Linux, and aims to facilitate both research and production use.
- FSM: Core framework for FSMs, including state, transition, and event management.
- fsmconvert: Tool for creating FSM arrangements and for converting between FSM representations and formats.
Comprehensive documentation is available via DocC in the source tree:
Sources/FSM/FSM.docc/Sources/fsmconvert/fsmconvert.docc/
See the Getting Started guide for a walkthrough on defining and using FSMs.