C-code FSM generator from YAML specifications
You should have Python dependency management called Poetry installed on your system.
From the root of the project
poetry install
Now you can activate the environment
poetry shell
When the environment is activated you will have access to fsm
CLI. Run
fsm --help
to see available options.
Here is an example how to generate C code from a YAML file:
fsm c-from-yaml docs/ex1.yaml generated/ex1
Now checkout generated/ex1
directory for generated files.
There is a documentation system based on mkdocs.
You can start docs server locally by running:
mkdocs serve