-
LL (1) parser
LL(1)语法分析器,在任何时候,总控程序都是按照栈顶符号X和当前输入符号a行事的。对于任何(X,a),总控程序每次都执行下述三种可能的动作之一:
若X=a=’#’,则宣布分析成功,停止分析过程;
若X=a≠’#’,则把X从栈顶逐出,让a指向下一输入符号;
若X是一个非终结符,则查看分析表M。若M中存放着一条关于X的产生式,那么,首先把X逐出栈顶,然后,把产生式的右部符号按反序一一推进栈,同时做这个产生式相应的语义动作(目前不管)。若M[X,a]中存放着一条出错标志,则调用出错诊查程序Error。-LL (1) parser
- 2022-04-20 05:21:39下载
- 积分:1
-
编译原理课堂语法分析
编译原理课堂语法分析- The translation principle classroom grammar analyzes
- 2022-05-19 09:35:23下载
- 积分:1
-
这是写英语巴瑟升C。NET。我希望这将是advatagea…
this a english paser that is writed in c sharp .net. i hope it will be advatageaus.-this is a english paser that is writed in c sharp .net. i hope it will be advatageaus.
- 2022-10-27 21:20:03下载
- 积分:1
-
词法分析程序的功能是,接受一个表达式,输出该表达式中的各类单词符号。测试词法分析程序时,可以按照一定格式输出各类单词符号。
本程序实现整数四则运算表达式的词...
词法分析程序的功能是,接受一个表达式,输出该表达式中的各类单词符号。测试词法分析程序时,可以按照一定格式输出各类单词符号。
本程序实现整数四则运算表达式的词法分析程序。-Lexical analyzer function is to accept an expression, the output of the expression of the various types of word symbols. Testing lexical analysis program, you can format the output according to certain types of word symbols. This procedure to achieve an integer 4 expression is the lexical analysis program.
- 2023-07-31 02:20:03下载
- 积分:1
-
regex
regex-spencer-3.8-src.zip
- 2022-06-19 23:15:25下载
- 积分:1
-
编译原理词法分析程序设计,是我们当时的要求做的课设题.
编译原理词法分析程序设计,是我们当时的要求做的课设题.-compiler theory lexical analysis program design, we then asked them to set up courses that.
- 2022-02-10 16:20:50下载
- 积分:1
-
1、构造该算符优先文法的优先关系矩阵或优先函数;
2、输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定
1、构造该算符优先文法的优先关系矩阵或优先函数;
2、输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定义的算术表达式的判断结果。
3、算符优先分析过程应能发现输入串出错。
-1, construction of the operator the priority of the priority relation matrix grammar or priority function 2, input strings should be the output of lexical analysis of binary sequence, that is, the arithmetic expression of a
- 2023-06-11 00:45:03下载
- 积分:1
-
一个计算器程序,利用了编译原理的知识,可以用来作为一个例子,学习编译原理...
一个计算器程序,利用了编译原理的知识,可以用来作为一个例子,学习编译原理-a calculator procedure, and use of compiler theory of knowledge, could be used as an example to study compiler theory
- 2022-08-26 13:29:23下载
- 积分:1
-
PL/0语法分析程序原代码(TURBOL PASCAL)
PL/0语法分析程序原代码(TURBOL PASCAL)-PL/0 grammar analysis program original code (TURBOL PASCAL)
- 2023-07-05 16:45:03下载
- 积分:1
-
比较简单的一个词法分析器,帮助学编译原理的初学者理解,可作为教学用途...
比较简单的一个词法分析器,帮助学编译原理的初学者理解,可作为教学用途-relatively simple one lexical analyzer to help the school build understanding of the principle of beginners can use as a teaching
- 2022-08-12 15:32:14下载
- 积分:1