搜索资源列表
递归下降分析器
- 目的】 使用递归子程序法设计一个语法分析程序,理解自顶向下分析方法的原理,掌握手工编写语法分析程序的方法。 【要求】 1、使用递归下降分析算法分析表达式文法: exp ::= exp addop term | term addop ::= + | - term ::= term mulop factor | factor mulop ::= * | / factor ::= (exp) | number 其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到
analysis.rar
- 编译原理上机实验,c语言的词法分析器。将单词分为保留字,标识符,数字。可实现c语言的几乎全部词法分析。,Principle of the Experimental Machine compiler, c language lexical analyzer. The word is divided into reserved words, identifiers, numbers. Can be realized almost all of c language lexical analysis.
bianyiyuanli.rar
- 编译原理实验中词法分析器和语法分析器的实验报告(附源代码),Compile principle experiment lexical analyzer and parser of the lab report (with source code)
flex++-2.3.8-7.tar.Z
- 生成C++的词法/语法分析的Flex语法分析器 ,Flex syntactic and phrase parser which can produce C++ code
lexical_analyzer(by_flex).rar
- 运用flex自动生成词法分析器。包含源代码和使用文档,Automatically generated using flex lexical analyzer. Contains the source code and use of documents
CIFAFENXI
- C语言 词法分析器。 (1) 可以识别出用C语言编写的源程序中的每个单词符号,并以记号的形式输出每个单词符号. (2) 可以识别并读取源程序中的注释. (3) 可以统计源程序中的语句行数、单词个数和字符个数,其中标点和空格不计算为单词,输出统计结果. (4) 检查源程序中存在的非法字符错误,并可以报告错误所在的行列位置. (5) 发现源程序中存在错误后,进行适当的恢复,使词法分析可以继续进行,通过一次词法分析处理, 可以检查并报告源程序中存在的所有词法拼写错误.-C l
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
CSharpcifa
- 很不错的词法分析实验报告 编译程序的第一阶段是词法分析,为了能把输入的字符串进行扫描和分解,识别出各种类型的单词符号,我用C++语言设计了一个简单词法分析器,分析C++语言单词的子集(包括常用关键字、标识符、常数、算符、界符等)。-Very good compiler lexical analysis lab report is the first stage of lexical analysis, in order to be able to scan the input string an
bianyiyuanli
- 我的编译原理实验,包括一个词法分析器,一个酸腐优先的语法分析器,一个语义分析器-I compiled the experiment, including a lexical analyzer, a priority酸腐parser, a semantic analyzer
LL1
- 自上而下语法分析器设计,词法分析器调用接口为lex()-Top-down parser design, call the lexical analyzer interface lex ()
pl0
- 编译方法实验根据编译器的工作过程,分为以下三个部分 词法分析 语法分析 语义分析和代码生成 三部分之间互相关联,最终完成三个实验后,就实现了C- -言(C++语言的子集)或PL0语言的编译器。 -Methods compiled in accordance with the work of the compiler process, divided into the following three-part analysis of lexical semanti
Lexeme
- 一个自己制作的词法分析器,界面做的还算美观,功能基本可以实现,可以分析PL0语法,可能还存在一些没有测试出来的BUG,有兴趣的朋友可以一起交流学习,QQ84544838-A lexical analyzer to produce their own interface to do the still beautiful, the basic functions can be achieved, can be analyzed PL0 grammar, there are still some m
305314118
- JAVA词法分析器 JAVA词法分析器 -JAVA词法分析器 JAVA词法分析器 JAVA词法分析器JAVA词法分析器JAVA词法分析器
Bianyiyuanli_Ex2
- 词法分析器的JAVA实现,,程序利用正则表达式实现了简单的词法分析器。-JAVA implementation of lexical analyzer, and procedures to use regular expressions to achieve a simple lexical analyzer.
my
- flex 词法分析器 识别token单元-syntax analysis
cifafenxi
- 简单的词法分析器 编译课程综合训练 java语言 -Simple lexical analyzer to compile a comprehensive training course java language
lexer
- Java编写的编译器前端,词法分析器部分。-A lexer for compiler in Java
Main
- java语言写的词法分析器,编译原理课的实验源代码-written in java language lexical analyzer, the principle of classes to compile the source code of the experiment
analyse
- 词法分析,做的很详细,说明了各方面的情况,词法分析器实验报告-Lexical analysis, done in great detail to illustrate the various aspects of the experimental report of lexical analyzer