diff options
| author | JRPan <[email protected]> | 2023-06-13 20:40:17 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-13 20:40:17 +0800 |
| commit | 4f1cdbe1ff00ab003cc9d33f1a6943eeb6b203a3 (patch) | |
| tree | 5ee800a6507b85bfbefae1c242f9d285731aa4a3 /aerialvision/parser.out | |
| parent | 25cdd73b170b0c560d1e6bf5f5418b0a9be2325b (diff) | |
| parent | b471b3481b2399222ffd9ee0f007628834e68767 (diff) | |
Merge branch 'dev' into dev
Diffstat (limited to 'aerialvision/parser.out')
| -rw-r--r-- | aerialvision/parser.out | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/aerialvision/parser.out b/aerialvision/parser.out new file mode 100644 index 0000000..809874f --- /dev/null +++ b/aerialvision/parser.out @@ -0,0 +1,47 @@ +Created by PLY version 3.11 (http://www.dabeaz.com/ply) + +Grammar + +Rule 0 S' -> sentence +Rule 1 sentence -> WORD NUMBERSEQUENCE + +Terminals, with rules where they appear + +NUMBERSEQUENCE : 1 +WORD : 1 +error : + +Nonterminals, with rules where they appear + +sentence : 0 + +Parsing method: LALR + +state 0 + + (0) S' -> . sentence + (1) sentence -> . WORD NUMBERSEQUENCE + + WORD shift and go to state 2 + + sentence shift and go to state 1 + +state 1 + + (0) S' -> sentence . + + + +state 2 + + (1) sentence -> WORD . NUMBERSEQUENCE + + NUMBERSEQUENCE shift and go to state 3 + + +state 3 + + (1) sentence -> WORD NUMBERSEQUENCE . + + $end reduce using rule 1 (sentence -> WORD NUMBERSEQUENCE .) + |
