1. 首页
  2. 课程学习
  3. C++/C
  4. pl0语法分析.docx

pl0语法分析.docx

上传者: 2020-06-02 12:23:05上传 DOCX文件 22KB 热度 20次
课程实验报告C语言版本 1.PL/0源程序 //PL0.txt consta=10; varb,c; procedurep; begin c:=b+a end; begin read(b); whileb#0do begin callp;write(2*c);read(b) end end. 2.词法分析结果(PL/0单词流文件) //outputfile.txt constsym, ident,a eql, number,10 semicolon, varsym, ident,b comma, ident,c semicolon, proceduresym, ide
下载地址
用户评论