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

📄 parse.v

📁 大3编译原理课程设计 绝对符合老师要求 报告代码一应俱全 很详细 很靠谱
💻 V
📖 第 1 页 / 共 3 页
字号:


state 44
	factor : NOT factor .  (72)

	.  reduce 72


state 45
	factor : LP exp . RP

	RP  shift 67


state 46
	exp : var . ASSIGN exp
	factor : var .  (67)
	call : var . LP args RP

	ASSIGN  shift 68
	LP  shift 48
	.  reduce 67


state 47
	exp : simple_exp .  (50)
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	LT  shift 53
	LE  shift 54
	GT  shift 55
	GE  shift 56
	EQ  shift 57
	NEQ  shift 58
	AND  shift 59
	OR  shift 60
	.  reduce 50


state 48
	call : var LP . args RP
	args : .  (77)

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31
	.  reduce 77

	exp  goto 69
	var  goto 46
	simple_exp  goto 47
	factor  goto 34
	call  goto 35
	args  goto 70
	arg_list  goto 71
	id  goto 36


state 49
	simple_exp : simple_exp PLUS . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 72
	factor  goto 34
	call  goto 35
	id  goto 36


state 50
	simple_exp : simple_exp SUB . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 73
	factor  goto 34
	call  goto 35
	id  goto 36


state 51
	simple_exp : simple_exp MUT . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 74
	factor  goto 34
	call  goto 35
	id  goto 36


state 52
	simple_exp : simple_exp DIV . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 75
	factor  goto 34
	call  goto 35
	id  goto 36


state 53
	simple_exp : simple_exp LT . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 76
	factor  goto 34
	call  goto 35
	id  goto 36


state 54
	simple_exp : simple_exp LE . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 77
	factor  goto 34
	call  goto 35
	id  goto 36


state 55
	simple_exp : simple_exp GT . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 78
	factor  goto 34
	call  goto 35
	id  goto 36


state 56
	simple_exp : simple_exp GE . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 79
	factor  goto 34
	call  goto 35
	id  goto 36


state 57
	simple_exp : simple_exp EQ . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 80
	factor  goto 34
	call  goto 35
	id  goto 36


state 58
	simple_exp : simple_exp NEQ . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 81
	factor  goto 34
	call  goto 35
	id  goto 36


state 59
	simple_exp : simple_exp AND . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 82
	factor  goto 34
	call  goto 35
	id  goto 36


state 60
	simple_exp : simple_exp OR . simple_exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	var  goto 32
	simple_exp  goto 83
	factor  goto 34
	call  goto 35
	id  goto 36


state 61
	var : id LSP simple_exp RSP .  (52)

	.  reduce 52


state 62
	fun_def : type_spec id fid LP params . RP comp_stmt
	fun_dec : type_spec id fid LP params . RP SEMI

	RP  shift 84


state 63
	fun_def : id fid LP params RP . comp_stmt
	fun_dec : id fid LP params RP . SEMI

	SEMI  shift 85
	LFP  shift 86

	comp_stmt  goto 87


state 64
	param_list : param_list COMMA . param

	INT  shift 1
	CHAR  shift 2
	FLOAT  shift 3
	VOID  shift 4

	param  goto 88
	type_spec  goto 42


state 65
	param : type_spec id .  (27)
	param : type_spec id . LSP RSP
	param : type_spec id . LSP simple_exp RSP

	LSP  shift 89
	.  reduce 27


state 66
	id_list : id_list COMMA id ASSIGN simple_exp .  (12)
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	LT  shift 53
	LE  shift 54
	GT  shift 55
	GE  shift 56
	EQ  shift 57
	NEQ  shift 58
	AND  shift 59
	OR  shift 60
	.  reduce 12


state 67
	factor : LP exp RP .  (66)

	.  reduce 66


state 68
	exp : var ASSIGN . exp

	ID  shift 5
	NUM  shift 27
	FNUM  shift 28
	SCHAR  shift 29
	NOT  shift 30
	LP  shift 31

	exp  goto 90
	var  goto 46
	simple_exp  goto 47
	factor  goto 34
	call  goto 35
	id  goto 36


state 69
	arg_list : exp .  (75)

	.  reduce 75


state 70
	call : var LP args . RP

	RP  shift 91


state 71
	arg_list : arg_list . COMMA exp
	args : arg_list .  (76)

	COMMA  shift 92
	.  reduce 76


state 72
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp PLUS simple_exp .  (61)
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	MUT  shift 51
	DIV  shift 52
	.  reduce 61


state 73
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp SUB simple_exp .  (62)
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	MUT  shift 51
	DIV  shift 52
	.  reduce 62


state 74
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp MUT simple_exp .  (63)
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	.  reduce 63


state 75
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp DIV simple_exp .  (64)
	simple_exp : simple_exp . DIV simple_exp

	.  reduce 64


state 76
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp LT simple_exp .  (55)
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	.  reduce 55


state 77
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp LE simple_exp .  (56)
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	.  reduce 56


state 78
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp GT simple_exp .  (57)
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	.  reduce 57


state 79
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp GE simple_exp .  (58)
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	.  reduce 58


state 80
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp EQ simple_exp .  (59)
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

	PLUS  shift 49
	SUB  shift 50
	MUT  shift 51
	DIV  shift 52
	LT  shift 53
	LE  shift 54
	GT  shift 55
	GE  shift 56
	.  reduce 59


state 81
	simple_exp : simple_exp . OR simple_exp
	simple_exp : simple_exp . AND simple_exp
	simple_exp : simple_exp . LT simple_exp
	simple_exp : simple_exp . LE simple_exp
	simple_exp : simple_exp . GT simple_exp
	simple_exp : simple_exp . GE simple_exp
	simple_exp : simple_exp . EQ simple_exp
	simple_exp : simple_exp NEQ simple_exp .  (60)
	simple_exp : simple_exp . NEQ simple_exp
	simple_exp : simple_exp . PLUS simple_exp
	simple_exp : simple_exp . SUB simple_exp
	simple_exp : simple_exp . MUT simple_exp
	simple_exp : simple_exp . DIV simple_exp

⌨️ 快捷键说明

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