登录
首页 » Compiler program » LL (1) parser

LL (1) parser

于 2022-04-20 发布 文件大小:12.39 kB
0 233
下载积分: 2 下载次数: 1

代码说明:

LL(1)语法分析器,在任何时候,总控程序都是按照栈顶符号X和当前输入符号a行事的。对于任何(X,a),总控程序每次都执行下述三种可能的动作之一: 若X=a=’#’,则宣布分析成功,停止分析过程; 若X=a≠’#’,则把X从栈顶逐出,让a指向下一输入符号; 若X是一个非终结符,则查看分析表M。若M中存放着一条关于X的产生式,那么,首先把X逐出栈顶,然后,把产生式的右部符号按反序一一推进栈,同时做这个产生式相应的语义动作(目前不管)。若M[X,a]中存放着一条出错标志,则调用出错诊查程序Error。-LL (1) parser

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示...
    这是一个文法分析器,很方便,只要输入句子,程序会自动分析,如果错误也会提示-It s a grammer analyzer,which is convenience,if you input sentence,program will automatic analyse and clue to if it is error.
    2023-02-26 14:45:03下载
    积分:1
  • 这是一个此法分析器的手工构造实例,程序很简洁。
    这是一个此法分析器的手工构造实例,程序很简洁。-This is a method of manual analyzer tectonic example, a very simple procedure.
    2022-07-17 21:34:47下载
    积分:1
  • C language compiler source code, small c for dos
    C语言编译器源代码,small c for dos-C language compiler source code, small c for dos
    2022-01-21 04:57:12下载
    积分:1
  • 编译
    Compile-CC编译器源代码.rar,是学习编译原理和C语言的好例子!-Compile-CC compiler source code. Rar, learning theory and compile C language a good example!
    2022-06-28 05:34:31下载
    积分:1
  • 类似vc的集成开发环境,包括编辑器,调试器,编译器的全部源代码,真正的交互式,支持代码自动生成技术...
    类似vc的集成开发环境,包括编辑器,调试器,编译器的全部源代码,真正的交互式,支持代码自动生成技术-Vc similar integrated development environment, including the editor, debugger, compiler of all source code, a truly interactive, support automatic code generation technology
    2022-05-19 07:16:45下载
    积分:1
  • source for the program source code files directory exe executable file for the d...
    source 为程序源代码文件目录 exe 为可执行文件目录 pics 为所有处理好的图片的目录 需要预先安装MinGW MinGW为Mini Gnu for Windows 里面包含gcc for windows的编译器 将其拷贝值某目录,然后设置环境变量 path x:MinGWin 即可通过gcc(g++)命令进行编译-source for the program source code files directory exe executable file for the directory of pics for all deal with the need for a good picture of the catalog pre-installed MinGWMinGW for Mini Gnu for Windows which contains gcc for windows compiler to copy the value of a certain directory, and then set the environment variable path x: MinGW in you through the gcc (g++) command to compile
    2022-07-22 12:54:55下载
    积分:1
  • 小型编译器的课程设计实例哦 值得一看的
    小型编译器的课程设计实例哦 值得一看的-A example of course design of minitype compiler.it bear watching.
    2022-10-03 02:20:03下载
    积分:1
  • Phase
    相位测量仪的几种方案设计,可供参考,如有需要,就快快下吧-Phase-measuring instrument designed several programs available for reference, if necessary, as soon as possible, are you on
    2022-03-06 01:38:08下载
    积分:1
  • 实现NFA确定化子集算法程序。DFA是NFA的特例。对每个NFA  N一定存在一个DFA M ,使得 L(M)=L(N)。对每个NFA N存在着与之等价的DFA...
    实现NFA确定化子集算法程序。DFA是NFA的特例。对每个NFA  N一定存在一个DFA M ,使得 L(M)=L(N)。对每个NFA N存在着与之等价的DFA M。从NFA的矩阵表示中可以看出,表项通常是一状态的集合,而在DFA的矩阵表示中,表项是一个状态,NFA到相应的DFA的构造的基本思路是:1.DFA的每一个状态对应NFA的一组状态. 2. DFA使用它的状态去记录在NFA读入一个输入符号后可能达到的所有状态.。-achieve NFA Number algorithm to determine procedures. DFA NFA is a special case. NFA N for each must exist a DFA M, makes L (M) = L (N). N for each NFA exist with the DFA M equivalent. NFA from the matrix can be seen, tables are usually set of a state, and in the matrix DFA said, Form is a state of the corresponding NFA DFA basic structure of ideas : 1.DFA each one corresponds to a group of NFA state. 2. DFA use it to the state records in NFA Reading input into a symbol after all reach the state. .
    2022-08-23 12:39:40下载
    积分:1
  • 一个用C编写的#解释器,封闭的过程的完整的实现…
    一个用C#编写的解释器,内附完整的实现过程以及源代码。-A used C# Prepared interpreter, enclosing the complete realization of the process, as well as source code.
    2023-08-22 08:20:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载