Finite state machine in D

Druzhinin Alexandr news at digitalmars.com
Thu Sep 27 01:15:45 PDT 2012


27.09.2012 14:48, Mirko Pilger пишет:
>> What is the D-way to implement fsm with code generation?
>
> you might have a look at ragel:
>
> http://www.complang.org/ragel/
I had. It's good but is too fat for my purpose - simple fsm 
implementation in D without third party's instruments (for simple use). 
My question was inspired when I saw several fsm implementation in c++, 
but I didn't find D implementation to compare with. And now I'm writing 
my own. This writing seems to be very useful - I've found new advantages 
of D over C++ =)


More information about the Digitalmars-d-learn mailing list