搜索资源列表
cifafeixi
- C语言词法分析器。可以给出一段简单的程序进行分析。-C language lexical analyzer. It is a simple procedure for analysis.
compilier
- C编译器,在VC6.0环境下开发,是C的一个简单编译器,但可以运行任何C程序,可以函数嵌套-C compiler, the environment VC6.0 development is a simple C compiler, But can run any C program can be nested function
cfxq
- 实现一个C程序下的词法分析,简单实用,不需要添加任何代码,就可执行,可在DOS或WIN下的各个版本的C程序编辑器下执行-achieve a C program under the lexical analysis, simple and practical, do not need to add any code can be implemented, in DOS or WIN under the various versions of the C program under Executiv
MorphAnalyser
- 一个简单的词法分析器,可以识别C++中的关键字、标识符、数值、各种合法字符等,能对一段正确或含有错误的C++程序进行词法分析,并对错误进行精确的提示。
compile
- 自己写的一个编译程序,可以从二进制文件中读取一段c程序,进行表达式的识别和一些简单的c语句,最后生成三元式输出
cifafenxi
- 新手编的一个简单的C++程序~~~实现了词法分析的功能
编译原理---算浮优先算法
- 简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎
程序的词法分析
- 对简单的C程序或者Pascal程序进行词法分析以TOKEN字的形式放入结果文件-of simple C program or Pascal procedures lexical analysis in the form of the word TOKEN Add outcome document
pacal词法分析
- 该程序是在C下的对TP的简单的词法分析,利用该程序可以分析简单的程序,别的也没有了,就是这些了-the program is the C of the right TP simple lexical analysis, using the program can analyze a simple procedure, nor the other, which is a
EP2
- C语言编写的简单计算程序的语法分析器,可以识别一定的计算功能-C language prepared by the simple calculation procedure syntax analyzer can identify certain computing capabilities
lex
- 用C语言实现了简单的词法分析功能,用户输入任意字符串,程序输出经分析后的token序列-Using C language to achieve a simple lexical analysis function, the user to enter arbitrary strings, the program output by the analysis of the token sequence
4
- 一个小型的C解释器,可以编译执行简单的C程序并且给出结果。-A small C interpreter, you can compile a simple C implementation of procedures and results are given.
Compiler
- 编译课上做的小程序,用四种分析方法分别实现(LL1,算符优先,递归下降,简单词法分析) 完成对正则文法所描述的Pascal语言子集单词符号的词法分析程序。 <标识符>→字母︱ <标识符>字母︱ <标识符>数字 <无符号整数>→数字︱ <无符号整数>数字 <单字符分界符> →+ ︱- ︱* ︱ ︱(︱) <双字符分界符>→<大于>=︱<小于>=︱<小于&g
pl0C1
- 一个简单词法编译器。具体内容是产生一个二元式文本文件,扩展名为dyd,可将Pascal或C程序(测试程序)分解成为一个一个的单词及类型。-A simple lexical compiler. The specific contents of a binary-type text file, extension dyd, can be Pascal or C procedures (test procedures) as a decomposition of a word and type.
analysis
- 是一个很简单的编译原理的词法分析程序,就是对一个简单的C语言程序进行模拟编译。-Is to compile a very simple principle of lexical analysis procedure is a simple procedure to simulate the C language compiler.
Ccifafenxi
- c语言词法分析程序的实现,实现了简单的词法分析-c language lexical analysis procedures to achieve
cifafenxi
- 简单c++单词词法分析程序设计:读取txt, 词法分析,结果输出并保存在制定txt文件!-Simple c++ word lexical analysis program design: read txt, lexical analysis, the results of the output and save txt document in the development!
while
- 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
C_Cplus_study_system
- 原名《Turbo C/C++ for Windows 集成实验与学习环境》,现在已支持最新操作系统WINDOWS 7,它是从事一线教学的大学教师根据C程序多媒体教学演示和C语言初学者的特点,量身打造的一个简单易用的C/C++程序设计教学演示、学习与实验软件(支持TC2/TC3、GCC、VC6四种编译器,没有使用日期限制)。-Formerly known as " Turbo C/C++ for Windows integrated experimental and learning en
SeuYacc
- 本源码为自行开发的兼容C语法的语法分析工具Yacc,能进行MiniC语法分析。与SeuLex结合对简单C程序进行编译运行-The source code is compatible with self-developed tools for C syntax parsing Yacc, can be MiniC parsing. Combined with the SeuLex compile and run a simple C program