debug.txt
来自「c++语言编写的PL0语言的语法分析程序」· 文本 代码 · 共 565 行 · 第 1/2 页
TXT
565 行
| | | | | >-statement()
| | | | | <-getsym ();
| | | | | | end 10
| | | | | | sym= 21
| | | | | >-getsym ();
| | | | | <-test();
| | | | | >-test();
| | | | >-statement()
| | | | <-getsym ();
| | | | | begin
| | | | | sym= 17
| | | | >-getsym ();
| | | | <-test();
| | | | >-test();
| | | >-statement()
| | | <-getsym ();
| | | | read(b);
| | | | begin 12
| | | | sym= 20
| | | >-getsym ();
| | | <-gen();
| | | | OPR 0 0
| | | >-gen();
| | >-block();
| | <-gen();
| | | INT 0 5
| | >-gen();
| | <-statement()
| | | <-test();
| | | >-test();
| | | <-getsym ();
| | | | read 12
| | | | sym= 31
| | | >-getsym ();
| | | <-statement()
| | | | <-test();
| | | | >-test();
| | | | <-getsym ();
| | | | | sym= 14
| | | | >-getsym ();
| | | | <-getsym ();
| | | | | b 12
| | | | | sym= 1
| | | | >-getsym ();
| | | | <-position();
| | | | >-position();
| | | | <-gen();
| | | | | OPR 0 16
| | | | >-gen();
| | | | <-gen();
| | | | | STO 0 3
| | | | >-gen();
| | | | <-getsym ();
| | | | | sym= 15
| | | | >-getsym ();
| | | | <-getsym ();
| | | | | call p;
| | | | | sym= 17
| | | | >-getsym ();
| | | | <-test();
| | | | >-test();
| | | >-statement()
| | | <-getsym ();
| | | | call 13
| | | | sym= 26
| | | >-getsym ();
| | | <-statement()
| | | | <-test();
| | | | >-test();
| | | | <-getsym ();
| | | | | p 13
| | | | | sym= 1
| | | | >-getsym ();
| | | | <-position();
| | | | >-position();
| | | | <-gen();
| | | | | CAL 0 2
| | | | >-gen();
| | | | <-getsym ();
| | | | | if a>b then
| | | | | sym= 17
| | | | >-getsym ();
| | | | <-test();
| | | | >-test();
| | | >-statement()
| | | <-getsym ();
| | | | if 14
| | | | sym= 22
| | | >-getsym ();
| | | <-statement()
| | | | <-test();
| | | | >-test();
| | | | <-getsym ();
| | | | | a 14
| | | | | sym= 1
| | | | >-getsym ();
| | | | <-condition();
| | | | | <-test();
| | | | | >-test();
| | | | | <-expression();
| | | | | | <-test();
| | | | | | >-test();
| | | | | | <-term();
| | | | | | | <-test();
| | | | | | | >-test();
| | | | | | | <-factor();
| | | | | | | | <-test();
| | | | | | | | >-test();
| | | | | | | | <-position();
| | | | | | | | >-position();
| | | | | | | | <-gen();
| | | | | | | | | LIT 0 10
| | | | | | | | >-gen();
| | | | | | | | <-getsym ();
| | | | | | | | | sym= 12
| | | | | | | | >-getsym ();
| | | | | | | | <-test();
| | | | | | | | >-test();
| | | | | | | >-factor();
| | | | | | | <-test();
| | | | | | | >-test();
| | | | | | >-term();
| | | | | | <-test();
| | | | | | >-test();
| | | | | >-expression();
| | | | | <-getsym ();
| | | | | | b 14
| | | | | | sym= 1
| | | | | >-getsym ();
| | | | | <-expression();
| | | | | | <-test();
| | | | | | >-test();
| | | | | | <-term();
| | | | | | | <-test();
| | | | | | | >-test();
| | | | | | | <-factor();
| | | | | | | | <-test();
| | | | | | | | >-test();
| | | | | | | | <-position();
| | | | | | | | >-position();
| | | | | | | | <-gen();
| | | | | | | | | LOD 0 3
| | | | | | | | >-gen();
| | | | | | | | <-getsym ();
| | | | | | | | | write(b);
| | | | | | | | | then 15
| | | | | | | | | sym= 23
| | | | | | | | >-getsym ();
| | | | | | | | <-test();
| | | | | | | | >-test();
| | | | | | | >-factor();
| | | | | | | <-test();
| | | | | | | >-test();
| | | | | | >-term();
| | | | | | <-test();
| | | | | | >-test();
| | | | | >-expression();
| | | | | <-gen();
| | | | | | OPR 0 12
| | | | | >-gen();
| | | | | <-test();
| | | | | >-test();
| | | | >-condition();
| | | | <-getsym ();
| | | | | write 15
| | | | | sym= 30
| | | | >-getsym ();
| | | | <-gen();
| | | | | JPC 0 0
| | | | >-gen();
| | | | <-statement()
| | | | | <-test();
| | | | | >-test();
| | | | | <-getsym ();
| | | | | | sym= 14
| | | | | >-getsym ();
| | | | | <-getsym ();
| | | | | | b 15
| | | | | | sym= 1
| | | | | >-getsym ();
| | | | | <-position();
| | | | | >-position();
| | | | | <-gen();
| | | | | | LOD 0 3
| | | | | >-gen();
| | | | | <-gen();
| | | | | | OPR 0 14
| | | | | >-gen();
| | | | | <-gen();
| | | | | | OPR 0 15
| | | | | >-gen();
| | | | | <-getsym ();
| | | | | | sym= 15
| | | | | >-getsym ();
| | | | | <-getsym ();
| | | | | | write(c)
| | | | | | sym= 17
| | | | | >-getsym ();
| | | | | <-test();
| | | | | >-test();
| | | | >-statement()
| | | | <-test();
| | | | >-test();
| | | >-statement()
| | | <-getsym ();
| | | | write 16
| | | | sym= 30
| | | >-getsym ();
| | | <-statement()
| | | | <-test();
| | | | >-test();
| | | | <-getsym ();
| | | | | sym= 14
| | | | >-getsym ();
| | | | <-getsym ();
| | | | | c 16
| | | | | sym= 1
| | | | >-getsym ();
| | | | <-position();
| | | | >-position();
| | | | <-gen();
| | | | | LOD 0 4
| | | | >-gen();
| | | | <-gen();
| | | | | OPR 0 14
| | | | >-gen();
| | | | <-gen();
| | | | | OPR 0 15
| | | | >-gen();
| | | | <-getsym ();
| | | | | end.
| | | | | sym= 15
| | | | >-getsym ();
| | | | <-getsym ();
| | | | | end 17
| | | | | sym= 21
| | | | >-getsym ();
| | | | <-test();
| | | | >-test();
| | | >-statement()
| | | <-getsym ();
| | | | sym= 18
| | | >-getsym ();
| | >-statement()
| | <-gen();
| | | OPR 0 0
| | >-gen();
| >-block();
| <-listCode();
| | JMP 0 14
| | JMP 0 2
| | INT 0 3
| | LOD 1 3
| | LIT 0 10
| | OPR 0 2
| | STO 1 4
| | LOD 1 4
| | LIT 0 10
| | OPR 0 2
| | STO 1 3
| | OPR 0 16
| | STO 1 4
| | OPR 0 0
| | INT 0 5
| | OPR 0 16
| | STO 0 3
| | CAL 0 2
| | LIT 0 10
| | LOD 0 3
| | OPR 0 12
| | JPC 0 25
| | LOD 0 3
| | OPR 0 14
| | OPR 0 15
| | LOD 0 4
| | OPR 0 14
| | OPR 0 15
| | OPR 0 0
| >-listCode();
| <-interpret();
| | Start PL/0.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?