Difference between revisions of "Finite State Machine"

From Noah.org
Jump to navigationJump to search
Line 2: Line 2:
 
[[Category:Python]]
 
[[Category:Python]]
 
[[Category:Free_Software]]
 
[[Category:Free_Software]]
 
+
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: [http://www.noah.org/downloadsvn.php?src=file:///home/svn/src/python/pexpect/FSM.py FSM.py]
 
Click here to download: [http://www.noah.org/downloadsvn.php?src=file:///home/svn/src/python/pexpect/FSM.py FSM.py]
 
<include svncat src="file:///home/svn/src/python/pexpect/FSM.py" highlight="python" />
 
<include svncat src="file:///home/svn/src/python/pexpect/FSM.py" highlight="python" />

Revision as of 11:47, 16 December 2007

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 svncat src="file:///home/svn/src/python/pexpect/FSM.py" highlight="python" />