搜索资源列表
fenxi
- 读入一个C程序,统计程序中代码、注释和空行数以及函数的个数和平均行数,并利用统计信息分析评价该程序风格。
fxq
- 一. 实验目的 设计,编制并调试一个语法分析程序,加深对语法分析原理的理解。可以编译c语言的基本结构,包括循环嵌套和条件嵌套。 二. 实验的输入输出 (1) 执行程序时,可输入源程序的路径,如果输入为空的话,将会编译默认的源程序“./input.dat” (2) 如果编译发现有错误,则会输出错误行数,并在结束编译时输出“Complete!” 三. 语法结构 .... 四. 分析器主要代码 .. 五 小结
pl/0
- /*PL/0编译系统C版本头文件pl0.h*/ /* typedef enum { false, true } bool; */ #define norw 13 /*关键字个数*/ #define txmax 100 /*名字表容量*/ #define nmax 14 /*number的最大位数*/ #define al 10
Compile
- 此课设是if else 条件语句的翻译程序. 功能说明如下: 1.整体词法分析; 2.if else语法分析,递归下降法. 3.三地址形式代码格式输出; 4.变量符号表的实现,即先定义变量才可以使用; 5.出错提示,具体行数出错提示; 6.作用域初步设计.-This lesson is that if else conditional statements of the translation process. Functions as follows:
NewEdit3.0
- qt 写的一个减一文本编辑器,可拖拽,可统计代码行数,可以调用mingw的编译器-qt by a text written by an editor, drag and drop, the number of available lines of code statistics, you can call the mingw compiler
pl0
- 本程序基于PL0源码, 完成以下内容: (1) 增加单词:保留字 ELSE,REPEAT,UNTIL,RETURN 运算符 +=,-=,++,-- (2) 修改单词:不等号# 改为 <> (3) 增加条件语句的ELSE子句 (4) 扩充赋值运算:+= 和 -= (5) 扩充语句 REPEAT <语句序列> UNTIL <条件> 其中,<条件>是循环条件,即条件不成立时,重复执行循环体的<
Semantic-analysis
- 编译原理语义分析器,C++代码编写,基于DEVC++ 代码行数 1800+ 内含主要文件:cpp源代码,exe执行文件-Compiler theory semantic analyzer C++ code, containing key documents: write, based on DEVC++ the number of lines of code 1800+, cpp source code, exe executable file