-
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
-
LEX词法分析器
LEX词法分析器-LEX morphology analyzer
- 2022-08-11 15:56:36下载
- 积分:1
-
词法分析与语法分析程序
词法分析和语法分析的程序,带实验报告- The lexical analysis and the grammar analysis procedure, brings
the test report
- 2022-01-22 15:35:40下载
- 积分:1
-
通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。...
通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。-Debugging through the design of the preparation of a specific lexical analysis process, deepen their understanding of the principles lexical analysis. And mastery of programming language source code to scan the process of its decomposition for different types of word lexical analysis.
- 2022-08-21 08:13:34下载
- 积分:1
-
windowns 环境的lex和yacc编译器工具
windowns 环境的lex和yacc编译器工具-windowns environment lex and yacc compiler tool
- 2022-05-31 11:52:40下载
- 积分:1
-
good to evaluate program equations data and embedd the code directly into data b...
good to evaluate program equations data and embedd the code directly into data base
- 2022-06-13 12:19:44下载
- 积分:1
-
一个由LEX编写的C
一个由LEX编写的C-词法分析程序。为锻炼使用者能力,未加载LEX已编译的代码。建立时最好建立控制台程序。-LEX written by a C-lexical analysis program. The user the ability to exercise without load LEX compiled code. Is best to establish procedures for the establishment of the console.
- 2022-03-24 22:33:27下载
- 积分:1
-
递归下降方法实现的类C语言的语义分析程序
递归下降方法实现的类C语言的语义分析程序-recursive method decreased the Class C language semantic analysis procedures
- 2022-04-23 02:55:06下载
- 积分:1
-
1、输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定义的算术表达式的判断结果。
2、LL(1)分析过程
1、输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定义的算术表达式的判断结果。
2、LL(1)分析过程应能发现输入串出错。
3、设计两个测试用例(尽可能完备,正确和出错),并给出测试结果。
-1, input strings should be the output of lexical analysis of binary sequence, that is, the arithmetic expression of a
- 2022-10-09 04:30:03下载
- 积分:1
-
用c51的键盘扫描
用c51的键盘扫描-C51 with keyboard scanning
- 2022-06-13 02:27:21下载
- 积分:1