mealy (rubygems): An easy on the eye DSL to define Mealy FSMs. Can be used for lexers, stream transformers etc. 
Keywords: dsl|mealy-machine|parse|ruby