登录
首页 » Compiler program » 一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。...

一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。...

于 2022-04-14 发布 文件大小:26.72 kB
0 174
下载积分: 2 下载次数: 1

代码说明:

一个简单的编译器,可以实现简单的画图语句的解析,最终画出简单的图形。涉及程序编译器的实现几个步骤,词法分析,语法分析,语义分析,等等。-a simple compiler can achieve a simple drawing of analytic statement, the final draw simple graphics. The procedures compiler in several steps, lexical analysis, grammar analysis, semantic analysis, and so on.

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

发表评论

0 个回复

  • 为了实现编译器的实用,可自由编写源代码…
    为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为: (1)从源程序文件中读入字符。 (2)统计行数和列数用于错误单词的定位。 (3)删除空格类字符,包括回车、制表符空格。 (4)按拼写单词,并用(种别,单词)二元式表示。 (5)根据需要是否填写标识符表供以后各阶段使用。 这里采用的编译程序的实现方法是一遍扫描,即从左到右只扫描一次源程序,也就是词法分析作为语法分析的一个子程序。故在编写词法分析程序时,用重复调用词法分析子程序取一单词的方法得到整个源程序的二元式流。 -in order to achieve the compiler practical, available free to write source code format, that his writing can be more than words, a statement can occupy multiple lines written; identifier of 20 characters effective; Integer with two byte; long integer with four byte. This lexical analysis for major work : (1) from source document read into the characters. (2) Statistics and a few mistakes out a few words for positioning. (3) delete the blank type characters, including the carriage return, tab spaces. (4) the spelling words and use (other species, words) dual ceremony. (5) whether the need for completing the table identifier subsequent stages. Here the compilers of th
    2022-01-23 11:14:40下载
    积分:1
  • Pascal语言的小型编译器
    Small compiler for Pascal
    2022-07-01 17:20:10下载
    积分:1
  • 用java编译的PL0编译器 附带解释器
    用java编译的PL0编译器 附带解释器-java compiler with the PL0 compiler fringe Interpreter
    2022-08-21 07:35:48下载
    积分:1
  • C_minus BNF language syntax definition of procedures from the list of statement...
    C_minus语言的BNF语法定义 程序由声明的列表(或序列)组成,声明可以是函数或变量声明,顺序是任意的。至少必须有一个声明。接下来是语义限制(这些在C中不会出现)。所有的变量和函数在使用前必须声明(这避免了向后backpatching引用)。程序中最后的声明必须是一个函数声明,名字为main。注意,C-缺乏原型,因此声明和定义之间没有区别(像C一样)。-C_minus BNF language syntax definition of procedures from the list of statement (or sequence), with a statement can be variable or function statement, the order is arbitrary. There must be at least one statement. Next is the semantic constraints (these will not arise C). All the variables and functions to be used in the statement (which avoids the use Backpatching backwards). Procedures must be the last statement is a function declaration, the name of the main. Attention C- lack of a prototype, and the definition of a statement is no difference between (the same as C).
    2022-03-04 15:33:26下载
    积分:1
  • c语言编译器,3.6版本 lcc version 3.x is described in the book "A Retargetable C Compil...
    c语言编译器,3.6版本 lcc version 3.x is described in the book "A Retargetable C Compiler: Design and Implementation" (Addison-Wesley, 1995, ISBN 0-8053-1670-1). There are significant differences between 3.x and 4.x, most notably in the intermediate code. For details, see http://www.research.microsoft.com/~drh/pubs/interface4.pdf. -c language compiler, version 3.6 LCC version 3.x is described in the book "A Retargetable C Compiler : Design and Implementation" (Addison-Wesley, 1995, ISBN 0-8053-1670-1). There are significant differences between 3.x and 4.x, most notably in the intermediate code. For details, see http://www.research.microsoft.com/ ~ drh/pubs/interface4.pdf.
    2023-04-23 15:20:03下载
    积分:1
  • Principles of curriculum design report compiled in a manual constructor lexical...
    编译原理的课程设计报告中的手动词法分析构造器-Principles of curriculum design report compiled in a manual constructor lexical analysis
    2023-04-05 14:50:03下载
    积分:1
  • C++版 词法分析、语法分析器
    C++版 词法分析、语法分析器-C version of lexical analysis, grammar analyzer
    2022-02-14 19:29:46下载
    积分:1
  • P2P聊天服务器技术代码无孔技术服务器记录所有网络…
    P2P服务器技术聊天代码 没有打洞技术 服务器记录了所有在线用户-P2P chat server technology code without holes technical server records all online users
    2022-02-22 06:22:44下载
    积分:1
  • 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。...
    通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。- And the hands of the right programming language source for the scanning process of decomposition of various word lexical analysis methods.
    2023-08-11 06:45:03下载
    积分:1
  • 可以换肤的窗体 简单分析
    可以换肤的窗体 简单分析- May trade the skin the window simply to analyze
    2023-03-12 21:25:03下载
    积分:1
  • 696518资源总数
  • 106227会员总数
  • 11今日下载