You can define a full grammar for a language and embed actions in arbitrary places. It is compiled to a very fast DFA. Think of it as a yacc for regular languages.
Zed's advocacy for Ragel is really about using parser generators to implement internet-facing parsers.
Zed's advocacy for Ragel is really about using parser generators to implement internet-facing parsers.