Skip to content
/ FSM Public

C++ template library for working with finite state machines.

License

Notifications You must be signed in to change notification settings

Baltoli/FSM

Repository files navigation

FSM

CircleCI

A small C++ template implementation of finite state machines that can be used to accept or reject input sequences.

Usage

The library is implemented as a single C++ header. To use it, copy it into your project and include it as:

#include "finite_state_machine.h"

A finite state machine that accepts integers can then be created by:

auto machine = FiniteStateMachine<int>{};

Future Improvements

  • Generated documentation and interface cleanup
  • Tests (unit, integration)
  • Nicer Dot output
  • Improving template compile times by splitting template-specific and non-specific code.

About

C++ template library for working with finite state machines.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published