Finite State Machine

From Noah.org
Revision as of 03:40, 26 March 2010 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

I originally created this for Pexpect to parse VT100/ANSI terminal escape codes. I thought this also made a good illustration of Finite State Machines.

Click here to download: FSM.py <include src="/home/noahspurrier/noah.org/engineering/src/python/pexpect/FSM.py" highlight="python" />