登录
首页 » Compiler program » 一个C语言子集small c 编译器的源代码,也是用small c写的,学习编译技术是个不错的开始^...

一个C语言子集small c 编译器的源代码,也是用small c写的,学习编译技术是个不错的开始^...

于 2023-06-16 发布 文件大小:564.89 kB
0 167
下载积分: 2 下载次数: 1

代码说明:

一个C语言子集small c 编译器的源代码,也是用small c写的,学习编译技术是个不错的开始^-^- C language subset small c compiler source code, also is writes with small c, the study translation technology is good start ^-^

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

发表评论

0 个回复

  • 拿出这个程序来主要是因为原文中只有一个LEX程序,
    拿出这个程序来主要是因为原文中只有一个LEX程序,- Puts out this procedure to come mainly is because in the original text only has a LEX procedure,
    2022-09-16 13:45:03下载
    积分:1
  • 为了实现编译器的实用,可自由编写源代码…
    为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前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
  • Java形式文法
    Java形式文法-BNF.是设计形式文法的好范例。-Java form grammar-BNF. Form design is a good example of grammar.
    2022-11-05 00:40:03下载
    积分:1
  • 读取BNF表达式和终结符文件,然后生成相应文法的First、Follow集、文法分析表以及冲突表。...
    读取BNF表达式和终结符文件,然后生成相应文法的First、Follow集、文法分析表以及冲突表。-BNF expressions and terminator read the file, and then generates the appropriate grammar First, Follow sets, grammar analysis table, as well as conflict table
    2022-05-31 03:17:31下载
    积分: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
  • 加速度信息采集程序.主要是通过界面显示物体移动的信息采集。...
    加速度信息采集程序.主要是通过界面显示物体移动的信息采集。-Accelecer information program very useful
    2023-08-08 07:25:04下载
    积分:1
  • 这是程序是一种脚本语言
    this about neko program which is a script langugage
    2023-08-01 01:50:03下载
    积分:1
  • 编译程序实例。
    Compiler examples program.
    2023-05-31 01:45:03下载
    积分:1
  • 编译原理程序by me.
    编译原理程序by me.- Translation principle procedure by me.
    2023-04-25 09:45:03下载
    积分:1
  • 学生信息注册系统,数据库是ACCESS!
    学生信息注册系统,数据库是ACCESS!-Student Registration information systems, databases are ACCESS!
    2022-02-04 14:34:26下载
    积分:1
  • 696516资源总数
  • 106668会员总数
  • 21今日下载