home *** CD-ROM | disk | FTP | other *** search
- # This program will determine if a string of As and Bs
- # is of the form aNbN - it outputs T or halts
- aaabbb
- 16
- 0 a 1 a
- 1 a 2 c
- 2 c 2 >
- 2 a 2 >
- 2 d 2 >
- 2 b 3 d
- 3 d 3 <
- 3 d 3 <
- 3 a 3 <
- 3 c 1 >
- 1 d 4 >
- 4 d 4 >
- 4 - 5 <
- 5 d 5 >
- 5 - 6 >
- 6 - 6 T
-
-