搜索资源列表
C
- C语言词法分析器 实现简单的词法分析,是编译原理的课程设计之一-C language lexical analyzer to achieve a simple lexical analysis is compiled one of the principle of curriculum design
CIFAFENXI
- C语言 词法分析器。 (1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号. (2) 可以识别并读取源程序中的注释. (3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,输出统计结果. (4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置. (5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理, 可以检查并报告源程序中存在的所有词法拼写错误.-C l
语法分析器
- 词法分析器- Morphology analyzer
SLR1
- 该程序为一个手工编码实现的简单SLR语法分析器,其词法分析器调用接口为lex(),语法分析调用接口为SLR1()。-The program is a simple hand-coded implementation SLR parser, the lexical analyzer is called interface lex (), parsing call interface for the SLR1 ().
Java-Scanner
- 词法分析器(编译原理) Java语言词法分析器的设计与实现-Lexical Analyzer (Compilation Principle) Java language lexical Analyzer Design and Implementation
递归下降分析(大作业)
- 递归下降词法分析,很不错的一个词法分析器-recursive drop lexical analysis, a very good lexical analyzer
antlr-2_7_0
- Java写的词法/语法分析器。可生成JAVA语言或者是C++的词法和语法分析器。并可产生语法分析树和对该树进行遍历 -Syntactic and phrase parser in JAVA which can produce JAVA or C
Compiler
- 使用LEX和yacc实现的C—语言的词法分析器和语法分析器,采用的是LALR算法,完整的编译原理实验报告-LEX and yacc use to achieve the C-language lexical analyzer and parser, LALR uses algorithms to compile a complete report of principle experiment
C-language-WordAnalyse
- C语言词法分析器,本C++代码实现了对C语言的分析。是C语言的解释器。-C language lexical analyzer, the C++ code analysis for C language. Is a C language interpreter.
compiler
- c语言子集编译器,完成词法分析、语法分析、语义分析,输出四元式。(C language subset compiler, lexical analysis, syntax analysis, semantic analysis, output four-unit sentence.)
词法分析
- 简单的词法分析器的设计的资料,非常有用,有助于新手学习。(Simple lexical analyzer design information, very useful)
1
- 对一段c语言程序进行词法分析,输出每个单词的属性(This is a compiler of words,which is coded by c.)
bianyi
- 一个简单的c语言编译器,词法分析 语法分析 符号表 中间代码生成(lexical analyzer symbol table ,gramm analysis object code)
编译原理词法分析器
- 2.1 待分析的简单的词法 (1)关键字: begin if then while do end 所有的关键字都是小写。 (2)运算符和界符 : = + - * / < <= <> > >= = ; ( ) # (3)其他单词是标识符(ID)和整型常数(SUM),通过以下正规式定义: ID = letter (letter | digit)* NUM = digit digit* (4)空格有空白、制表符
Lexical_Analyzer
- 简易词法分析器,实现C语言词法分析。。。。(Simple lexical analyzer)
flex&yacc
- 实现编译原理实验的词法分析和语法分析,最终生成产生式。(The lexical analysis and grammatical analysis of the compiling principle experiment are finally generated.)
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
getchar11
- 从缓冲区中读取文字,并作词法和语法分析。(Read text from the buffer ,And the method of writing and the analysis of grammar.)
简单词法分析器
- 用Java编写的用于C语言程序的词法分析的程序(A Lexical Analysis Program for C Language Programs Written in Java)
词法分析
- 词法分析(英语:lexical analysis)是计算机科学中将字符序列转换为单词(Token)序列的过程。进行词法分析的程序或者函数叫作词法分析器(Lexical analyzer,简称Lexer),也叫扫描器(Scanner)。(Lexical analysis is the process of converting character sequence into token sequence in computer science. The program or function fo