搜索资源列表
bianyiyuanli.rar
- 一. 实验目的: 设计、编写和调试一个具体的词法分析程序,加深对词法分析理论和自动词法分析工具的理解、实践和掌握。 二. 实验要求: ① 学习和理解正则表达式理论,写出C—语言的记号的完整的正则表达式;(适当使用正则定义) ② 学习和理解有限机理论,根据前面的正则表达式,用基于经验的方法画出C—语言的记的DFA图; ③ 用基于DFA图的算法编写C—语言的词法分析程序; ④ 学习词法分析程序的自动生成工具,使用LEX工具实现C—语言的词法分析程序.
c_compiler.zip
- 本程序集是Allen I. Holub所写的《Compiler Design in C》一书的附随软件,其中有作者自己编写的词法分析和语法分析工具LeX,occs和LLama,该软件包还包括一个显示C语言分析过程的程序
C.compiler
- c语言的编译器包含词法和语法分析Lex&Ya-c language compiler which including lex and yacc ,writen by c and c++
C---Assembly
- source code for example convert C to assembly by lex and ya-source code for example convert C to assembly by lex and yacc
C-scanner-based-lex
- 这是一个基于lex的C-语言的词法分析器。- a scanner .
lex
- 利用C语言实现编译原理中的词法分析,供大家学习参考。-C language compiler theory of lexical analysis, and for everyone to learn the reference.
lex-yacc
- 一款用lex和yacc写的编译器,代码转换成了c++,对于small语言进行了编译。-A use lex and yacc to write a compiler, code converted into c++, the small language compiler.
lex
- c++词法分析器 可以对输入的字符流进行判断,并判断其是关键字,标示符,数字等-failed to translate
lex-and-syntax-
- 用C语言编写的一个特定文法的词法分析器,内有文法描述PPT和实验指导书,电子科技大学的编译原理实验哦-Using C language of a particular grammar lexical analyzer, there grammar descr iption PPT and guide books, the University of Electronic Science and Technology Compiler Principle Experiment oh
lex
- 设计并实现 C 语言的词法分析程序,要求如下。 (1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号。 (2) 可以识别并读取源程序中的注释。 (3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,并输出统计结果。 (4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置。 (5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理,可以
lex
- 基于C语言编写的词法分析实验,能够对短语进行分析并给出正确的标志符号。-Based on the C language lexical analysis of experiments, analysis and be able to give the correct phrase glyph.
C--Compiler
- C--编译器的实现代码 主要实现C--程序的语法错误 包括变量名、函数等的检查 YACC 和 Lex 在linux下编译通过 -C- compiler implementations code of the main C- syntax error process include variable names, functions, etc. Check YACC and Lex compile under linux
lex
- 用c++编写的词法分析器,可以识别20个保留字,常数,运算符以及标识符。-Written by c++ lexical analyzer can identify 20 reserved words, constants, operators, and identifiers.
lex
- 一段编译器程序,用C++环境开发,用到windows文件-a piece of code to do the compiler
Tarea4_LexAndYacc
- Lex and Yacc calculator compiler in c-Lex and Yacc calculator compiler in c++
lex
- 编译原理,词法分析器的实现,使用的语言是C语言,在LINux环境下运行没有问题.- Compiler theory lexical analyzer to achieve, the language used is C language environment in LINux run without problems.
lex
- 模仿lex根据规则自动生成词法分析器c源码,应用环境linux,g-Imitate lex lexical analyzer c source code is automatically generated according to the rules, the application environment linux, g++
back
- Project about written an interpter in C using gcc compiler and lex and yacc
19215123胡玲
- pl0语言的词法分析器 lex 自动构造工具(pl0 lex c c++ yyac bainyiyuanli)
compiler-master
- <编译原理>实验. 最终实现了一个C-语言的编译器(A compiler of C-language is implemented by compiling principle experiment)