State Machine

Tim t.oliver at windowslive.com
Sat Jan 2 05:19:08 UTC 2021


Hi there,

I was wondering if there is a very D approach to making a state 
machine. I ask this because I could mangle something together but 
if there is a language feature that could make my life a lot 
easier or readable then that would be fantastic. The main thing 
I'm wondering about is being able to run some sort of arbitrary 
code in the form of strings (maybe using string mixins) as the 
machine exits a state


More information about the Digitalmars-d mailing list