blob: 072a1fa06c45c64bb9df507de586f7c9c531ed3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
class | 0 1 2 3 4
st\ev | \0 space # \n other
START | P np
00 | END SPACE COMMENT START WORD
COMMENT | P
01 | END COMMENT COMMENT START COMMENT
SPACE | P P np
02 | END SPACE COMMENT START WORD
WORD | 0P 0 p 0P p
03 | END SPACE WORD START WORD
END: 04
X: 05
states: 3 bits
actions: 4 bits
0x10 n new word
0x20 p push cur
0x40 0 push \0
0x80 P process line
|