搜索资源列表
compiler([1].netstl)
- (1) 给定一段符合Pascal子集语法的语言,能成功转换成C语言; (2) 一个简单的说明文档; (3) 2007.7.14之前上传到ftp:// C07:C07@10.11.3.71/upload,用学号建立自己的目录; (4) (可额外加分5分)若有出错处理功能,请在说明文档中写明可以处理哪几项错误。 注意事项: (1) 两人一组 (2) 可以使用词法、语法自动生成工具,windows下有Flex,Bison,Linux下有Lex,Yacc,Java的有Jlex,J
sss
- 编译原理,很有用的源代码printf(\"所得first集为:\") ShowCollect(first) printf(\"所得follow集为:\")
ag
- 词法分析程序,可对以下的C源程序进行分析:main() {int a[12] ,sum for(i=1 i<=12 i++) {for(j=1 j<=12 j++)scanf(\"%d\",&a[i][j]) } for(i=12 i>=1 i--){ for(j=12 j>=1 j--){ if(i==j&&i+j==13)sum+=a[i][j] } } printf(\"%c\",sum) }-lexical analysis procedures, right b
PL0LANGUAGEWORDANALYSING.RAR
- 实现PL0语言的词法分析功能 输入:PL0语言的源代码 输出:源代码中的关键字以及其代号 备注:内附PL0语言文法及PL0语言简介-stage one in the PL0 language compiler word analysis module input:code of pl0 language output:two element group on the screen (implememnted by function "printf") key wo