登录
首页 » Compiler program » 1、 输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定义的算术表达式的判断结果。 2、 递归下降分析程...

1、 输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定义的算术表达式的判断结果。 2、 递归下降分析程...

于 2022-01-24 发布 文件大小:2.23 kB
0 111
下载积分: 2 下载次数: 1

代码说明:

1、 输入串应是词法分析的输出二元式序列,即某算术表达式“实验项目一”的输出结果。输出为输入串是否为该文法定义的算术表达式的判断结果。 2、 递归下降分析程序应能发现输入串出错。 3、 设计两个测试用例(尽可能完备,正确和出错),并给出测试结果 -1, input strings should be the output of lexical analysis of binary sequence, that is, the arithmetic expression of a

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

发表评论

0 个回复

  • 编译与调试技巧源代码:qprofile_src
    编译与调试技巧源代码:qprofile_src-compile and debug source code skills : qprofile_src
    2023-03-11 21:30:04下载
    积分: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
  • El-Kabong: A speedy, yet forgiving, SAX-stylee HTML parser.-El-Kabong : A speedy, yet forgiving. SAX- stylee HTML parser.
    2022-02-01 22:28:08下载
    积分:1
  • 华中科技大学2007编译原理课程设计报告+源代码.rar
    华中科技大学2007编译原理课程设计报告+源代码.rar-Huazhong University of Science and Technology, 2007 Principles of curriculum design report compiled+ Source code. Rar
    2022-01-24 16:09:31下载
    积分:1
  • a LALR(1) grammar for C
    a LALR(1) grammar for C
    2022-05-14 15:42:34下载
    积分:1
  • 词法分析、语法分析,是本文的语言语法、语法知识。
    词法分析,语法分析,文件中有语言的文法,根据文法写出的程序样例,还有根据样例进行词法分析得出的文件-lexical analysis, grammar analysis, the paper is the language grammar, grammar write the program sample, for example under the lexical analysis of documents
    2022-08-02 19:29:19下载
    积分:1
  • 可以求你需要的汇率转换
    可以求你需要的汇率转换- May you need in order to the exchange rate transforms
    2022-03-10 23:12:14下载
    积分:1
  • jakarta
    jakarta-oro-2.0.8 正则表达式 引擎 源代码-jakarta-oro-2.0.8 regular expression engine source code
    2022-06-19 00:06:30下载
    积分:1
  • 词法分析器:源程序的运行方式: 运行程序 输入一个已存在的文本文档的文件名。如:input.txt 如果要对整个程序进行语法分析,则按‘y’键,否则按‘n’键...
    词法分析器:源程序的运行方式: 运行程序 输入一个已存在的文本文档的文件名。如:input.txt 如果要对整个程序进行语法分析,则按‘y’键,否则按‘n’键 如果要对程序进行语法分析,则按‘y’键,否则按‘n’键 程序结束-lexical analyzer : the source of the mode of operation : the importation of operational procedures already exist in a text file in the file name. Such as : input.txt if the entire procedure syntax analysis, the provision "y" button, or by the "n" key to the procedure syntax analysis, the provision "y" button, or by the "n" key end of the program
    2022-08-11 09:13:53下载
    积分:1
  • 一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。...
    一个读单词过程,从输入的源程序中,识别出各个具有独立意义的单词,即基本保留字、标识符、常数、运算符、分隔符五大类。并依次输出各个单词的内部编码及单词符号自身值。(-read a word process, from the import of the source to identify all the independent significance of the word, that is to retain the basic character identifier, constant, Operators, separated top-five. Output and followed all the internal code words and symbols own words value. (
    2023-03-20 00:35:03下载
    积分:1
  • 696516资源总数
  • 106457会员总数
  • 15今日下载