It generates D code externally for a specific state machine. I meant a purely library solution for a ready generic state machine to which you can hook pu your specific program logic. On Tue, Oct 25, 2011 at 2:29 PM, Mirko Pilger <pilger at cymotec.de> wrote: >> * State machines. > > http://www.complang.org/ragel/ >