上传者: wgzgq23451
|
上传时间: 2022-11-22 17:04:22
|
文件大小: 155KB
|
文件类型: DOC
是关于C语言编程的实验词法分析要求输出如右图。
(2,”main”)
(5,”(“)
(5,”)“)
(5,”{“)
(1,”int”)
(2,”a”)
(5,”,”)
(2,”b”)
(5,”;”)
(2,”a”)
(4,”=”)
(3,”10”)
(5,”;”)
(2,”b”)
(4,”=”)
(2,”a”)
(4,”+”)
(3,”20”)
(5,”;”)
(5,”}“)