搜索资源列表
123
- 用C语言实现递归下降语法分析,编译实验程序举例。
analyse
- 课题问题描述 1. 根据算符优先分析算法,编写一个语法分析程序,可以选择以下三项之一作为分析算法中的输入: (1)直接输入根据已知文法人工构造的算法优先关系矩阵 (2)输入已知文法和FIRSTVT、LASTVT集合,由程序自动生成该文法的算法优先关系矩阵 (3)输入已知文法,由程序自动生成该文法的算法优先关系矩阵。 2. 程序具有通用性,即所编制的语法分析程序能够适用于不同文法以及各种输入单词串,并能判断该文法是否为算符文法和算符优先文法。 3. 对
fengsuyun
- 本程序主要是用于编译原理中的语法分析用的是vc++语言,用的是LR1语法分析法。-this procedure is used mainly to the principle of compiler syntax analysis is vc language, the syntax is Sequence Analysis.
sy3-ex
- 算符有限分析法 //程序功能: //根据算符优先分析法,将表达式进行语法分析,判断一个表达式是否正确。 //文法:E→E+E E-E E*E E/E (E) i // 其中i为无符号整数-operator limited analysis / / procedural functions : / / operator under priority analysis, to conduct regular expression syntax analysis, judgment, an expr
LL(1)
- LL(1)语法分析1、实现LL(1)分析中控制程序(表驱动程序); 2、完成以下描述算术表达式的LL(1)文法的LL(1)分析程序。 G[E]: E→TE′ E′→ATE′|ε T→FT′ T′→MFT′|ε F→ (E)|i A→+|- M→*|/-LL (1) syntax analysis 1, the realization of LL (1) Analysis of control procedures (table-driven procedure
Syntax_Analysis
- 简单的语法分析程序,可以对简单的四则运算式进行语法分析-A simple grammar analysis program, can be a simple four expression parsing
1234567
- 递归下降法语法分析程序,用C++语言实现的递归下降法语法分析程序。-Recursive descent parser, C++ language using a recursive descent parser
yufa
- 编制一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。 利用C语言编制递归下降分析程序,并对简单语言进行语法分析。 -The preparation of a recursive descent parser, lexical analyzer to achieve the sequence of words provided by the syntax check and structural analysis. Use of C language co
digui
- 递归程序调用分析程序,对输入语法通过递归调用程序分析-Analysis of recursive program calls the procedure, the syntax of the input program analysis by recursive calls
SLR(1)
- 编写识别表达式拓广文法的合法句子的SLR(1)分析程序,对输入的任意符号串,给出分析过程及分析结果。分析过程要求输出步骤、状态栈、符号栈、输入串和语法动作。如果该符号串不是表达式文法的合法句子,要给出尽量详细的错误提示。-Write a recognition of the legitimate expression of broadening the sentence grammar SLR (1) analysis program , for any input string of symb
grammatical_analysis
- 一个语法分析的基础程序,里面加了点注解,方便初学者看懂,我也是初学者,-A syntax analysis program, which add a point annotation, easy for beginners to understand, I am also a beginner, hey
LR(0)
- 简单LR语法分析程序自动生成器的实现,可用作数据结构课程设计-Simple LR parser automatically generates the realization,Used as a data structure course design
Syntax-analysis
- 这是一份“语法分析”程序,可以实现判断符号、串并符号的功能-This is a "syntax analysis" program, can realize the function judgement symbol, string and symbol