搜索资源列表
Cpp2
- 简单的语法分析程序,对输入的语句进行分析,看是否是一个正确的句子。
123
- 用C语言实现递归下降语法分析,编译实验程序举例。
4545672
- 词法 语法分析程序 是编译程序设计 写的较好
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
LL
- 使用非递归子程序法设计一个语法分析程序,理解自顶向下分析方法的原理,掌握词法分析程序的设计原则,掌握手工编写语法分析程序的方法-e :exp T :term t :term F :factor*/ char input[15]
LL1
- 使用非递归子程序法设计一个语法分析程序,理解自顶向下分析方法的原理,掌握词法分析程序的设计原则,掌握手工编写语法分析程序的方法。-#include <tchar.h> #include <string.h> #include <stdlib.h>
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
MATLAB--dian-qi-gong-cheng
- 通过本课程学习,使学生掌握利用MATLAB进行数值计算的基本方法,熟悉MATLAB编程环境、语言语法、程序结构、编程及调试技术,掌握MATLAB中M文件、M函数编写方法及调试技术、MATLAB的绘图和图形控制函数等内容,上机练习MATLAB数值解算方法,具备上机操作的技能,学习MATLAB在电气工程学科中的建模与分析方法,为后续专业课程学习奠定基础。 -Through this course, students master the basic methods of numerical calc
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
cifa
- 编译原理实验:词法分析,选择对各种常见高级程序设计语言都较为通用的语法结构无符号数的算术四则运算作为分析对象,给出其文法描述(注意应与所采用的语法分析方法比较贴近),设计并实现一个完整的语法分析程序。规则:E->E+T| E-T|T T->T*F| T/F|F F->(E)|i -Compiler principle experiment: lexical analysis, the choice of a variety of common high-level
data-compression_grammar-transform
- 基于贪婪连续语法变换的高效通用无损信源压缩算法。本算法主要基于杨恩辉教授的论文。程序分两部分,C#部分进行语法分析,matlab部分进行数字编码。-lossless source compression algorithm based on greed sequantial grammar transform . This algorithm is based on Professor Yang Enhui papers. Program consists of two parts, C# pa