搜索资源列表
sample词法分析
- sample词法分析sample词法分析sample词法分析sample词法分析sample词法分析sample词法分析sample词法分析
词法分析
- 词法分析C语言源代码
编译原理 词法分析
- 编译原理 词法分析 [实验项目] 完成以下正则文法所描述的C和Pascal语言子集单词符号的词法分析程序。 <标识符>→字母︱ <标识符>字母︱ <标识符>数字 <无符号整数>→数字︱ <无符号整数>数字 <单字符分界符> →+ ︱- ︱* ︱; ︱(︱) <双字符分界符>→<大于>=︱<小于>=︱<小于>>︱<冒号>=︱
词法分析器设计
- 源语言JAVA,宿主语言C/C++,用C/C++程序实现JAVA测试程序的词法分析,输出属性字流
基于C-语言的词法分析及语法分析
- 学生在学习《编译原理》课程过程中,结合各章节的构造编译程序的基本理论,要求用C或C++语言描述及上机调试,实现一个 C-Minus 小编译程序(包括词法分析,语法分析等重要子程序),使学生将理论与实际应用结合起来,受到软件设计等开发过程的全面训练,从而提高学生软件开发的能力。
tiny parse analysis
- tiny编译器,词法分析,语法分析,c语言,parse,lexical
词法分析编译器程序
- 用C语言开发词法分析程序PL0Compiler,并且修改PL/0词法,将其定义为一种新的语言,例如称其为PL/1语言,并完成 PL/1语言的词法分析程序。(Using C language development lexical analysis program PL0Compiler, and modify the PL/0 lexical, defined as a new language, for example, call it PL/1 language, and complete
test2
- 编译原理词法分析。设计、编制、调试一个识别一简单语言单词的词法分析程序。程序能够识别基本字、标识符、无符号整数、浮点数、运算符和界符)。(Compiler theory, lexical analysis.)
wordAnalyse
- 简单词法分析,读取cmm文件输入,输出词法分析结果,包含jar文件(Simple lexical analyzer)
词法分析代码
- 词法分析的简单c实现,将TESTSTRING中的字符串进行分词。(get words in TESTSTRING.)
实验一
- 简单的小程序,完成课程设计的一部分,词法分析(Simple small program to complete part of the curriculum design, lexical analysis)
编译原理词法分析器
- 2.1 待分析的简单的词法 (1)关键字: begin if then while do end 所有的关键字都是小写。 (2)运算符和界符 : = + - * / < <= <> > >= = ; ( ) # (3)其他单词是标识符(ID)和整型常数(SUM),通过以下正规式定义: ID = letter (letter | digit)* NUM = digit digit* (4)空格有空白、制表符
词法分析
- C++源代码扫描程序识别C++记号。 C++语言包含了几种类型的记号:标识符,关键字,数(包括整数、浮点数),字符串、注释、特殊符号(分界符)和运算符号等。(The C++ source code scanner recognizes the C++ mark. The C++ language contains several types of notations: identifiers, keywords, numbers (including integers, flo
2
- c语言词法分析 文件读写操作 生成文件保存(C language word analysis file read and write operation generation file save)
编译原理词法分析器
- 编译原理词法分析器,实现正规式转NFA,NFA转DFA,DNA最小化,满足编译原理词法分析要求
wordAnalysis
- 一个进行词法分析的程序,支持文件输入,C#编写。(A program for lexical analysis, supporting file input, and writing C#.)
词法分析器
- 使用工具实现C/C++语言词法分析器: 输入:C/C++源代码文件,即后缀为c/cpp的文件。 输出:后缀为tok的文本性文件。 实现功能:使用词法分析的自动生成工具Flex生成C/C++语言的词法分析器(The use of tools to implement the C/C++ language lexical analyzer: Input: C/C++ source code file, that is, a file with a suffix of c/cpp. Outp
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
词法分析
- 这是c语言编写的词法分析报告 实测可以使用(This is a word analysis report written in the C language that can be used for measurement)
Jingyu
- 词法分析程序是独立的一遍,把字符流的源程序变为单词序列,输出到一个中间文件,这个文件作为语法分析程序的输入而继续编译过程。该词法分析程序的功能是输入源程序,按照构词规则分解成一系列的单词符号,包括关键字、标识符、运算符、界符和常量等。(The lexical analysis program is an independent one, which turns the source program of the character stream into a word sequence and