登录
首页 » Compiler program » 构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。...

构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。...

于 2023-03-26 发布 文件大小:11.46 kB
0 41
下载积分: 2 下载次数: 1

代码说明:

构造LR(1)分析程序,利用它进行语法分析,判断给出的符号串是否为该文法识别的句子,了解LR(K)分析方法是严格的从左向右扫描,和自底向上的语法分析方法。-tectonic LR (1) analysis procedure, and use it for syntax analysis, judgment, given the string of symbols to whether the sentence grammar recognition, understanding LR (K) analysis method is strict scan from left to right, and bottom-up syntax analysis.

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

发表评论

0 个回复

  • C++编写的C++词法分析器,比较全
    C++编写的C++词法分析器,比较全-C compilation C morphology analyzer, compared with entire
    2022-04-27 04:02:08下载
    积分:1
  • brief introduction, the entire project is divided into five documents : Main.c
    简单介绍一下,整个工程分为5个文件:Main.c ----- 程序的入口点,其实很简单,就是调用两个函数。Global.h ----- 定义了一些全局变量及宏Parse.h ----- 语法分析器的主要算法Prece.h ----- 定义和实现了一些关于优先级的操作Stack.h ----- 定义和实现了一个栈及其操作编译的时候只要用TC2.0或者WinTC打开Main.c文件进行编译就好了。如发现有Bug请在这里贴出来或者把修改后的代码跟帖在这里:)总之,这个工程仅仅是一个简单示例,告诉大家怎么样把课堂上学到的知识运用到实际编程当中去,工程中所用到的模块化思想,数据结构等知识都是大家学过的,大三了,希望大家在最后这段时间里把写程序的本领练就出来。:)-brief introduction, the entire project is divided into five documents : Main.c----- procedure entry point, it is actually very simple, it is called two functions. Global.h----- definition of global variables and Wang Parse.h----- parser the main algorithm Prece.h----- definition and realization of a number of priority the operation Stack.h----- the definition and implementation of a stack and operation of the compiler used whenever WITH TC 2.0 or WinTC open Main.c documents compiled enough. If found please Bug out here or affixed to amend the code of Columbia here :) Overall, the project is just a simple example, like to tell you how to put classroom knowledge
    2022-09-22 15:55:02下载
    积分:1
  • has some history of C language compiler, originally developed for Motorola 68000...
    一款拥有一定历史的C语言编译器,最初为MOTOROLA 68000 开发,后来为其他一些通用处理器实现了后端,支持C99中的大部分新特性。-has some history of C language compiler, originally developed for Motorola 68000, Later, some of the other processor to achieve a common back-end, the C99 support most of the new properties.
    2023-04-14 06:00:04下载
    积分:1
  • 运用expat解析XML文件接口C源代码
    运用expat解析XML文件接口C源代码-Analysis of the use of XML documents expat interface C source code
    2022-04-16 05:08:27下载
    积分:1
  • flex,词法自动生成工具,他可以在极短时间内帮助产生编译器的词法c源程序...
    flex,词法自动生成工具,他可以在极短时间内帮助产生编译器的词法c源程序-flex, automatically generated lexical tools in a very short time he can help the compiler generate c source of lexical
    2023-05-13 10:00:03下载
    积分:1
  • 判断a^mba^n m,n=0的字符串
    判断a^mba^n m,n=0的字符串- Judges a^mba^n m, the n=0 character string
    2022-05-24 12:20:42下载
    积分:1
  • 录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法分析过程...
    录入合法的LR(0)文法,将输出LR(0)分析表,并可以对输入的句子进行语法分析输出相应语法分析过程-Input valid LR (0) grammar, the output of LR (0) analysis table, and can parse the input sentence is the output corresponding grammatical analysis
    2022-07-07 02:47:16下载
    积分:1
  • PL language to the interlanguage compiler, under vc translates
    PL语言到中间代码的编译程序,vc下编译 -PL language to the interlanguage compiler, under vc translates
    2022-02-09 19:04:27下载
    积分:1
  • TurboC2.0汉化包 311K 英语不太好的朋友们可以试试看。不过需要先下载一个英文版的TurboC2.0,用汉化包覆盖。...
    TurboC2.0汉化包 311K 英语不太好的朋友们可以试试看。不过需要先下载一个英文版的TurboC2.0,用汉化包覆盖。-TurboC2.0 sinicizing wraps the 311K English not too good friends to be allowed to try to look. But needs first to download an English version TurboC2.0, with sinicizing package of cover.
    2022-08-24 08:50:42下载
    积分:1
  • 脚本处理控件源码,支持的脚本格式有:Pascal,C++,JScript,Basic
    脚本处理控件源码,支持的脚本格式有:Pascal,C++,JScript,Basic- Script processing controls the source code, supports the script form includes: Pascal, C, JScript, Basic
    2022-07-08 18:59:14下载
    积分:1
  • 696518资源总数
  • 104225会员总数
  • 32今日下载