Start of Parser for a Word
G73.wrd of the language G7.grm at Wed Jan 31 13:31:44 2001
Scanner started
Input program:
# a 0 0 1 1 1 1 #
Scanned program:
1 2 4 4 5 5 5 5 1
Scanner ended
Parser started
Stack & Word | # | <a | 0 | 0 | 1 | 1 | 1 | 1 | # |
Pointer to top | _ | a |
Stack & Word | # | <a | <0 | 0 | 1 | 1 | 1 | 1 | # |
Pointer to top | _ | a | 0 |
Stack & Word | # | <a | <0 | <0 | 1 | 1 | 1 | 1 | # |
Pointer to top | _ | a | 0 | 0 |
Stack & Word | # | <a | <0 | <0 | <1 | 1 | 1 | 1 | # |
Pointer to top | _ | a | 0 | 0 | 1 |
Stack & Word | # | <a | <0 | <0 | <C | 1 | 1 | 1 | # |
Pointer to top | _ | a | 0 | 0 | C |
Parsing tree
Stack & Word | # | <a | <0 | <0 | <C | =1 | 1 | 1 | # |
Pointer to top | _ | a | 0 | 0 | C | 1 |
Stack & Word | # | <a | <0 | <0 | =A | 1 | 1 | # |
Pointer to top | _ | a | 0 | 0 | A |
Parsing tree
Stack & Word | # | <a | <0 | <0 | =A | =1 | 1 | # |
Pointer to top | _ | a | 0 | 0 | A | 1 |
Stack & Word | # | <a | <0 | =A | 1 | # |
Pointer to top | _ | a | 0 | A |
Parsing tree
Stack & Word | # | <a | <0 | =A | =1 | # |
Pointer to top | _ | a | 0 | A | 1 |
Stack & Word | # | <a | =A | # |
Pointer to top | _ | a | A |
Parsing tree
Stack & Word | # | =S | # |
Pointer to top | _ | S |
Parsing tree
the parsing is complete
Parser ended at
Wed Jan 31 13:31:44 2001