登录
首页 » Compiler program » 自己编的一个小程序,供大家参考,有不足之处请提意见。

自己编的一个小程序,供大家参考,有不足之处请提意见。

于 2022-03-03 发布 文件大小:17.78 kB
0 90
下载积分: 2 下载次数: 1

代码说明:

自己编的一个小程序,供大家参考,有不足之处请提意见。-A small program is writed by myself,supply with you,please give me opinion.

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

发表评论


0 个回复

  • 与vc++界面十分类似的词法分析器,更带了娱乐功能,播放影音哦...
    与vc++界面十分类似的词法分析器,更带了娱乐功能,播放影音哦- With the vc contact surface extremely similar morphology analyzer, brought the entertainment function, the broadcast video and music oh
    2022-02-04 23:15:25下载
    积分:1
  • 使用vc编写的文法分析器课件,对于入门的vc学习者,可以作为windows界面编程的参考...
    使用vc编写的文法分析器课件,对于入门的vc学习者,可以作为windows界面编程的参考-vc prepared by the use of grammar analyzer courseware for the entry vc learners, as windows programming interface reference
    2022-02-01 06:46:16下载
    积分:1
  • Studies the translation principle sixth chapter
    学习编译原理 第六章- Studies the translation principle sixth chapter
    2022-10-21 21:30:02下载
    积分:1
  • 由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面:   不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系...
    由于时间紧迫及事先准备不足,编译器最后定型时暴露出不少问题及不足之处,主要有以下一些方面:   不支持数组数据类型,这是文法分析器设计时的一个疏漏,由于时间关系,最后只得把扫描器中已做好的相关的数组部分删去。   对于float数据类型的支持,直到语义分析都是正常的,也能生成相应的汇编代码,但由于我们对8086/8088指令系统本身了解不足,这样的汇编代码将只能做到含义上完全忠实于源程序,但不能运行。   对于局部变量的支持,则于时间紧迫,所有的局部变量全被处理成静态变量。使递归函数不能得到正确的结果。    对于函数调用语句,不进行参数匹配检查,如果参数数量不对,也将能通过编译,但运行时将产生非法操作。   对&& !等逻辑操作在最后生成代码时处理比较粗燥,生成的代码在逻辑复杂时将不能保证运行正常。   接下来有一些,不能说是缺陷,但必须说明的问题:   对于main函数,没有参数表,通回类型也必须为void,但如果写上参数表及其他返回类型也能编译通过,生成代码时将简单地忽略,不影响最后的代码的运行。   对于while,for,if语句,其语句体不管是一句还是多句,必须都有{}围起来。这跟C语言中若是一句则可省略{}不同。-Due to the time constraints and lack of preparation in advance, the compiler finalized when exposed numerous problems and shortcomings, mainly in the following aspects : no support for array data type, which is grammar analyzer design of an omission, because of the time, the final could only have scanners do phase customs array deleted. For float data types of support until semantic analysis is normal, and can generate the corresponding assembly code, but because of our 808
    2022-01-26 16:03:11下载
    积分:1
  • In the Windows system management tools, select Internet Information Services, ac...
    在Windows系统的管理工具中,选择Internet信息服务,进入web页面管理界面。设置默 认web站点的路径为本目录的绝对路径。 确保您的机器上安装了SQL Server 2000或以上的版本,建立一个新的数据库ASPData,再将 存放在datasource子目录下的mydb_1文件导入到新建的数据库中,并进行还原备份。-In the Windows system management tools, select Internet Information Services, access to web page management interface. Default web site set up the path the absolute path for the catalog. Make sure your machine is installed on SQL Server 2000 or later, set up a new database ASPData, and then stored in a subdirectory under the datasource file mydb_1 to the new database and restore the backup.
    2022-08-10 10:43:30下载
    积分:1
  • 用java写的词法分析器,很不错的哦! 值得一看
    用java写的词法分析器,很不错的哦! 值得一看-Accidence analyzer write in java .it is ok ,bear watching.
    2022-03-01 07:29:55下载
    积分:1
  • 前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明...
    前些天写了个小语言的词法分析程序,因为前些天在VC知识库看到一个pascal词法分析的程序,觉得写得挺复杂的。其实词法分析程序的原理都是一样的,所以我想只要搞明白了简单的词法分析程序,再写复杂的就不难了,无非是多加几个关键字,多写几个条件判断语句而已。词法分析是编译程序的基础,也是最简单的。好,现在让我们看程序吧。 先让我们看看这个小语言的文法吧-few days ago wrote a small language lexical analysis procedures, because the other day in the knowledge base to see a VC pascal lexical analysis procedures, find that quite complex. In fact, lexical analysis procedure is the same principle, I think if you understood a simple lexical analysis procedure to write complex it is not difficult, is nothing but add a few keywords and writing several conditions judgment statement it. Lexical analysis is the basis of compilers, as well as the most simple. Well, now let us look at the procedures it. Let us look at this small language grammar it
    2022-08-08 01:17:36下载
    积分:1
  • YBasic编程语言的移植和开发 YBasic编程语言的移植和开发 YBasic编程语言的移植和开发...
    YBasic编程语言的移植和开发 YBasic编程语言的移植和开发 YBasic编程语言的移植和开发-YBasic programming language and development of transplant YBasic programming language and development of transplant YBasic programming language and development of transplant
    2022-02-21 14:44:51下载
    积分:1
  • 编译原理
    编译原理-Compiler Construction Principles
    2022-09-30 17:20:06下载
    积分:1
  • 自己写的一个simple语言scanner,也许有些错。可作参考。
    自己写的一个simple语言scanner,也许有些错。可作参考。-a scanner of simple language writed by myself,maybe it has error.you can consult.
    2023-03-01 20:00:03下载
    积分:1
  • 696518资源总数
  • 105495会员总数
  • 7今日下载