Compiles finite state machines into C/C++/Java/Go code
State machine compiler
ragel
$ ragel -o output.c input.rl
$ ragel -L -o parser.cpp parser.rl
$ ragel -V input.rl | dot -Tpng -o diagram.png