搜索资源列表
5
- 关于算术表达式的自上而下语法分析及其实现 -On the arithmetic expression and the realization of top-down parsing
1
- 自上而下的语法分析器,实验内容之一,利用分析表、分析栈和总控程序对源程序进行自上而下的语法分析测试; -Top-down parser, one of the experiment, the use of analytical tables, analysis of the total stack and source code control procedures for testing top-down parsing
compiler
- 该语义分析器能实现编译器的前端,适用于自上而下的语法分析。在语法分析的同时加进语义动作,实现一遍处理,能提高对编译原理课程的理解-Semantic Analyzer to achieve the compiler front-end for top-down parsing. At the same time in the analysis of syntax into semantic actions to deal with the realization of it, the compil
TOPDOWN
- top down parsing which is a simulation of predictive parser which checks the inout for a given string is acceptable or not
topdown
- source code for top down parsing of a grammar in compilers
YFFXQ
- 使用递归子程序法设计一个语法分析程序,自顶向下分析方法. 1、使用递归下降分析算法分析表达式文法: exp ::= exp addop term | term addop ::= + | - term ::= term mulop factor | factor mulop ::= * | / factor ::= (exp) | number 其中number可以是多位的十进制数字串(整数即可),因此这里还需要一个小的词法分析器来得到number的值。 2、该
Compiler_theory_top_down_parsing_method
- 编译原理自顶向下语法分析方法Compiler theory top-down parsing method-Compiler theory top-down parsing methods Compiler theory top-down parsing method
code
- 简单自顶向下的语法分析样例,可以供语法编译的初学者学习-Simple top-down parsing example, the syntax can be compiled for beginners
31767678analyse_0
- 编译原理中实现自顶向下语法分析,若文法中不含左递归,并且每个非终结符的所有后选式的首符集都两两不相交,那么就有可能构造一个不带回溯的自顶向下的语法分析程序-Compiler theory to achieve top-down parsing When every not terminal goes without interacting with each other,It can make a process of form up to down
topdownparsing
- This a top down parsing program.-This is a top down parsing program.
bianyi2
- 编译原理第二版内容自顶向下语法分析算法源代码-Compile the contents of the second edition of Principles of top-down parsing algorithm source code
recursive-descent-parsing
- 编译原理的实验,递归下降语法分析,能够实现自上而下的分析。-Compiler theory of the experiment, recursive descent parsing, to achieve top-down analysis.
from-top-down
- 递归自顶向下实现算术表达式的语法分析,可算乘方等复杂运算-Recursive top-down implementation of an arithmetic expression parsing, power and other complex operations can be considered
Compiler-theory
- 编译原理 第1章绪论 第2章数据类型 第3章控制结构 第4章程序语言的设计 第5章非过程式程序设计语言 第6章形式语义学简介 第7章编译概述 第8章词法分析 第9章自上而下的语法分析 第10章自下而上的语法分析 第11章语义分析和中间代码生成 第12章代码优化和目标代码生成 第13章运行时存储空间的组织 -Compiler theory Chapter 1 Introduction Chapter 2 data types C
compiler2
- 语法分析(一) 在实验一的基础上,对符号表中的单词采用自顶向下的分析方法进行语法分析,对不符合给定的文法的字符串,给出错误信息。 内容:给定描述语法的文法为: E→E+T|E-T|T T→T*F|T/F|F F→i 注:i为实验一中分析得到的整型数值型数据,+、-、*和/为实验一文法二所描述的算符。 使用的数据结构: 1.定义一个结构体,利用该结构体定义一个数组stable,用来存放字符串中字符的属性(类型class和值value)。(与实验一同用) 2.定义
From-top-to-bottom-grammar-analyzer
- 一个自上而下的语法分析器,具有建立语法分析过程的功能-A top-down parser, with the establishment of the parsing process
diguifenxi
- 编译原理小程序:用递归下降分析法进行语法分析 对输入的表达式进行自顶向下分析-Compiler theory applet: recursive descent parsing by top-down analysis of the input expression
yufafenxi
- 编译原理语法分析。自顶向下分析语法,首先要分析词法是否正确,若错误有错误提示,若没有进行语法分析自顶向下匹配字符串,显示匹配成功,或者失败结果。-Parsing compiler theory. Top-down analysis of grammar, lexical analysis is correct first, if an error has error, if there is no top-down parsing strings match, display matching
07-Top-Down-Parsing
- Calculator code written in assembly language
parsing
- 句法分析(syntactic parsing)的任务就是识别句子的句法结构(syntactic structure)。在自然语言处理领域,句法分析的目标是实现高正确率、高鲁棒性、高速度的自动句法分析过程。 但是该问题的困难在于自然语言中存在大量的结构歧义(structural ambuguity)。例如:I saw a boy in the park.这句话有两种可能的句法分析方法:1、[I saw a boy] in the park.2、I saw a [boy in the park].语