搜索资源列表
ansi_c_grammar
- C语言上下文无关文法的词法及语法描述文件,通过使用yacc、lex工具可以生成相关C语言的词法、语法分析的C语言代码-C language context-free grammar to describe the morphology and syntax files, through the use of yacc, lex tool generates C language related to the morphology, syntax analysis, C language code
shiyan
- 手工实现对c减语法的词法分析,采用的语言是java语言,对指定文件的语法进行分析。-The hand-c reduction syntax lexical analysis, the language used is java language, to analyze the syntax of the specified file.
word
- 用C实现了一个建议的类Pascal语言的词法分析器,实现从源程序中分离出各种单词的方法,进行分析。程序的输入与输出全是以文件的形式。-C implementation of a proposed class Pascal language lexical analyzer to achieve a variety of words from the source separation method for analysis. The input and output of the program
compile
- 大学课本的编译原理实验代码,全部自己实现,无错,包括词法分析、语法分析和解释执行三部分,第二和第三部分在run一个文件内,Gun C编译即可执行,而且有可供编译的示例程序,供大家学习。-school compile test code
cifa
- 编译 词法分析 C++ 运行时能接收任意被分析的程序,并将词法分析的结果输出到命名为"学号_token.txt"的结果文件中。 -C++ runtime compiler lexical analysis is able to receive any analysis procedures, and outputs the result to the lexical analysis named " Student ID _token.txt" the result f
PL0Compiler-C
- PL/0编译器C++/C版本 1. 测试文件必须是以testin.pl0命名的文件。 2. 成功运行测试程序后,会生成testout.txt的文件,里面包括代码、指令和运行结果。 3、First.cpp--只包含词法语法分析,Error.cpp--加入了出错处理,All.cpp--包含代码生成和解释程序,是完整编译器。-请键入文字或网站地址,或者上传文档。 取消 PL/0 biānyì qì C++/C bǎnběn 1. Cèshì wénjiàn bìxū shì yǐ
compiler
- 利用antlr生成的的java文件,能够对c语言四元式进行词法和语法分析-The use antlr generated java file, able to carry four yuan c language lexical and syntax analysis
Y
- 采用flex工具进行词法分析并结合yacc工具进行语法分析生成文法编译器 进行了完整的词法、语法分析 初始源文件4个:19210216.l,19210216.y,code.h,table.h, 运行过程: 先写出词法分析*.l文件和语法分析*.y文件。 然后运行CMD,进入DOS下,将目录切换到flex和bison及源码所在目录 1、flex 19210216.l 生成lex.yy.c 2、bison -d 19210216.y 生成1921
Text1
- 设计并实现一个词法分析器,实现对指定位置的类C语言源程序文本文件的读取,并能够对该源程序中的所有单词进行分类,指出其所属类型,实现简单的词法分析操作-Design and implement a lexical analyzer to achieve the reading of the class C language source text file to specify the location and the ability of the source of all the words
LexicalAnalysis
- 1、根据以下的正规式,编制正规文法,画出状态图; 标识符 <字母>(<字母>|<数字字符>)* 十进制整数 0 | ((1|2|3|4|5|6|7|8|9)(0|1|2|3|4|5|6|7|8|9)*) 八进制整数 0(1|2|3|4|5|6|7)(0|1|2|3|4|5|6|7)* 十六进制整数 0x(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e|f)(0|1|2|3|4|5|6|7|8|9|a|b|c|d|e
wordAnalysis
- 一个进行词法分析的程序,支持文件输入,C#编写。(A program for lexical analysis, supporting file input, and writing C#.)
b15
- 关于词法分析的一份实验报告,设计并实现一个词法分析器,实现对指定位置的类C语言源程序文本文件的读取,并能够对该源程序中的所有单词进行分类,指出其所属类型,实现简单的词法分析操作。(lexical analyzer is designed and implemented to read the text files of the class C source program of the specified location, and classify all the words in the s