fsm: add fsm module

This commit adds a module for a finite state machine. The goal of the
module is to provide a simple, easy to use, and easy to understand
finite state machine. The module is designed to be used in future
loop subsystems. Additionally a state visualizer is provided to
help with understanding the state machine.
This commit is contained in:
sputn1ck 2023-08-23 11:27:23 +02:00
parent 5739fa59c9
commit 20db07dccf
No known key found for this signature in database
GPG key ID: 671103D881A5F0E4
13 changed files with 1205 additions and 1 deletions

View file

@ -134,4 +134,7 @@ sqlc-check: sqlc
@$(call print, "Verifying sql code generation.")
if test -n "$$(git status --porcelain '*.go')"; then echo "SQL models not properly generated!"; git status --porcelain '*.go'; exit 1; fi
fsm:
@$(call print, "Generating state machine docs")
./scripts/fsm-generate.sh;
.PHONY: fsm