⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 y_output

📁 编译原理实验
💻
📖 第 1 页 / 共 2 页
字号:
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 43

Prefix :Program ROT IS FUNC L_BRACKET 
Error could be caught

state 32
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 
	Expr :  L_BRACKET Expr.R_BRACKET 

	R_BRACKET  shift 44
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program ROT IS L_BRACKET Expr 
Error could be caught

state 33
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 
	Expr :  PLUS Expr.    (15)

	POWER  shift 30
	.  reduce 15


Prefix :Program ROT IS PLUS Expr 

state 34
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 
	Expr :  MINUS Expr.    (16)

	POWER  shift 30
	.  reduce 16


Prefix :Program ROT IS MINUS Expr 

state 35
	Statement :  FOR T FROM Expr TO.Expr STEP Expr DRAW L_BRACKET Expr COMMA Expr R_BRACKET 

	CONST_ID  shift 16
	FUNC  shift 17
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 45

Prefix :Program FOR T FROM Expr TO 
Error could be caught

state 36
	Statement :  ORIGIN IS L_BRACKET Expr COMMA.Expr R_BRACKET 

	CONST_ID  shift 16
	FUNC  shift 17
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 46

Prefix :Program ORIGIN IS L_BRACKET Expr COMMA 
Error could be caught

state 37
	Statement :  SCALE IS L_BRACKET Expr COMMA.Expr R_BRACKET 

	CONST_ID  shift 16
	FUNC  shift 17
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 47

Prefix :Program SCALE IS L_BRACKET Expr COMMA 
Error could be caught

state 38
	Expr :  Expr.PLUS Expr 
	Expr :  Expr PLUS Expr.    (9)
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	.  reduce 9


Prefix :Program ROT IS Expr PLUS Expr 

state 39
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr MINUS Expr.    (10)
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	.  reduce 10


Prefix :Program ROT IS Expr MINUS Expr 

state 40
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr MUL Expr.    (11)
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	POWER  shift 30
	.  reduce 11


Prefix :Program ROT IS Expr MUL Expr 

state 41
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr DIV Expr.    (12)
	Expr :  Expr.POWER Expr 

	POWER  shift 30
	.  reduce 12


Prefix :Program ROT IS Expr DIV Expr 

state 42
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 
	Expr :  Expr POWER Expr.    (13)

	POWER  shift 30
	.  reduce 13


Prefix :Program ROT IS Expr POWER Expr 

state 43
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 
	Expr :  FUNC L_BRACKET Expr.R_BRACKET 

	R_BRACKET  shift 48
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program ROT IS FUNC L_BRACKET Expr 
Error could be caught

state 44
	Expr :  L_BRACKET Expr R_BRACKET.    (14)

	.  reduce 14


Prefix :Program ROT IS L_BRACKET Expr R_BRACKET 

state 45
	Statement :  FOR T FROM Expr TO Expr.STEP Expr DRAW L_BRACKET Expr COMMA Expr R_BRACKET 
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	STEP  shift 49
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program FOR T FROM Expr TO Expr 
Error could be caught

state 46
	Statement :  ORIGIN IS L_BRACKET Expr COMMA Expr.R_BRACKET 
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	R_BRACKET  shift 50
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program ORIGIN IS L_BRACKET Expr COMMA Expr 
Error could be caught

state 47
	Statement :  SCALE IS L_BRACKET Expr COMMA Expr.R_BRACKET 
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	R_BRACKET  shift 51
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program SCALE IS L_BRACKET Expr COMMA Expr 
Error could be caught

state 48
	Expr :  FUNC L_BRACKET Expr R_BRACKET.    (17)

	.  reduce 17


Prefix :Program ROT IS FUNC L_BRACKET Expr R_BRACKET 

state 49
	Statement :  FOR T FROM Expr TO Expr STEP.Expr DRAW L_BRACKET Expr COMMA Expr R_BRACKET 

	CONST_ID  shift 16
	FUNC  shift 17
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 52

Prefix :Program FOR T FROM Expr TO Expr STEP 
Error could be caught

state 50
	Statement :  ORIGIN IS L_BRACKET Expr COMMA Expr R_BRACKET.    (4)

	.  reduce 4


Prefix :Program ORIGIN IS L_BRACKET Expr COMMA Expr R_BRACKET 

state 51
	Statement :  SCALE IS L_BRACKET Expr COMMA Expr R_BRACKET.    (5)

	.  reduce 5


Prefix :Program SCALE IS L_BRACKET Expr COMMA Expr R_BRACKET 

state 52
	Statement :  FOR T FROM Expr TO Expr STEP Expr.DRAW L_BRACKET Expr COMMA Expr R_BRACKET 
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	DRAW  shift 53
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program FOR T FROM Expr TO Expr STEP Expr 
Error could be caught

state 53
	Statement :  FOR T FROM Expr TO Expr STEP Expr DRAW.L_BRACKET Expr COMMA Expr R_BRACKET 

	L_BRACKET  shift 54
	. error


Prefix :Program FOR T FROM Expr TO Expr STEP Expr DRAW 
Error could be caught

state 54
	Statement :  FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET.Expr COMMA Expr R_BRACKET 

	CONST_ID  shift 16
	FUNC  shift 17
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 55

Prefix :Program FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET 
Error could be caught

state 55
	Statement :  FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr.COMMA Expr R_BRACKET 
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	COMMA  shift 56
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr 
Error could be caught

state 56
	Statement :  FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr COMMA.Expr R_BRACKET 

	CONST_ID  shift 16
	FUNC  shift 17
	T  shift 18
	ERRTOKEN  shift 19
	L_BRACKET  shift 20
	PLUS  shift 21
	MINUS  shift 22
	. error

	Expr  goto 57

Prefix :Program FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr COMMA 
Error could be caught

state 57
	Statement :  FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr COMMA Expr.R_BRACKET 
	Expr :  Expr.PLUS Expr 
	Expr :  Expr.MINUS Expr 
	Expr :  Expr.MUL Expr 
	Expr :  Expr.DIV Expr 
	Expr :  Expr.POWER Expr 

	R_BRACKET  shift 58
	PLUS  shift 26
	MINUS  shift 27
	MUL  shift 28
	DIV  shift 29
	POWER  shift 30
	. error


Prefix :Program FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr COMMA Expr 
Error could be caught

state 58
	Statement :  FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr COMMA Expr R_BRACKET.    (3)

	.  reduce 3


Prefix :Program FOR T FROM Expr TO Expr STEP Expr DRAW L_BRACKET Expr COMMA Expr R_BRACKET 

26 terminals, 4 nonterminals
154 charaters in id's and literals
19 grammar rules, 59 states
0 shift/reduce, 0 reduce/reduce conflicts reported
0 accept/reduce conflicts reported
113 * 4 byte of distinct lookahead sets
127 table entries

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -