Skip to content

programmable finite state machines for the C programming language

License

Notifications You must be signed in to change notification settings

exbotanical/lib.fsm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lib.fsm

Programmable finite state machines for the C Programming Language

General Workflow and Meta Algorithm

visualization

Example: Bit Counter Example: Email Address Validator

Documentation and API

Dynamic Linking

Linking to lib.fsm:

# 1) include and use lib.fsm in your project
# 2) generate object file for your project
gcc -I ../path/to/libfsm -c main.c -o main.o
# 3) generate shared object file
make
# 4) link your project to lib.fsm
gcc -o main main.o -L../path/to/libfsm -llibfsm
# you may need to add the lib location to your PATH

Linking to lib.fsm on Windows:

# 1) include and use lib.fsm in your project
# 2) generate object file for your project
gcc -I ../path/to/libfsm -c main.c -o main.o
# 3) generate shared object file
make win
# 3) link your project to lib.fsm
gcc -o main.exe main.o -L /path/to/lib.fsm -llib_fsm.dll
# you may need to add the lib location to your PATH

About

programmable finite state machines for the C programming language

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published