-
为了实现编译器的实用,可自由编写源代码…
为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前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
-
一个小型的编译程序,用于学习实验。
文件中包含有 词法分析 语法分析 编译程序等...
一个小型的编译程序,用于学习实验。
文件中包含有 词法分析 语法分析 编译程序等
-Compile a small program for learning experiment. File contains lexical analysis parser compiler, etc.
- 2022-08-07 07:38:58下载
- 积分:1
-
编译原理的FOR循环语句的翻译,中间代码生成,以及语法,词法分析等...
编译原理的FOR循环语句的翻译,中间代码生成,以及语法,词法分析等-compiler principles FOR cycle statement to the translation, intermediate code generation, as well as grammar, lexical analysis
- 2023-04-22 10:50:03下载
- 积分:1
-
c8051fusb burning tools driver 55555552
c8051fusb烧写工具的驱动55555552-c8051fusb burning tools driver 55555552
- 2022-07-24 17:06:08下载
- 积分:1
-
C0的语法编译器,详细设计,适用于初学者编译…
自己开发的c0文法编译器,有详细的设计说明,适用于编译器初学者-C0 own grammar compiler, a detailed design that apply to the compiler for beginners
- 2022-10-02 01:50:03下载
- 积分:1
-
KEIL 编译器的使用说明,共八章非常详细。
KEIL 编译器的使用说明,共八章非常详细。-KEIL compiler userguide, a total of eight chapters in great detail.
- 2022-07-27 03:01:01下载
- 积分:1
-
源程序生成器,可以根据数据库自动生生代码
源程序生成器,可以根据数据库自动生生代码-Source generator, the code according to the database automatically Sang Sang
- 2022-02-07 00:37:39下载
- 积分:1
-
CHM Encoder 可以反编译你的 CHM 文件或 E
CHM Encoder 可以反编译你的 CHM 文件或 E-Book 电子图书并提取它们的所有源文件。
你想要将 CHM 转换为 HTML 吗? 那么请立即使用 CHMDecoder 吧!
该工具是免费的并且十分易于使用。
-CHM Encoder may decompile your CHM files or E-Book E-book and extract all their source files. You want to convert CHM to HTML? So please do not hesitate to use it CHMDecoder! The tool is free and very easy to use.
- 2022-02-13 09:27:05下载
- 积分:1
-
MyTC 5.4.1 原名TC for Windows,带编译、错误分析,还有TC学习、源码。免安装绿色版,不依赖于具体机器,适合复制到移动存储器(如U盘)上随...
MyTC 5.4.1 原名TC for Windows,带编译、错误分析,还有TC学习、源码。免安装绿色版,不依赖于具体机器,适合复制到移动存储器(如U盘)上随身携带!取消了注册限制-MyTC formerly TC 5.4.1 for Windows, with compiler, error analysis, TC learning source. Green-free version of the installation, is not dependent on specific machines, suitable for reproduction to mobile memory (such as USB drives), carry! Cancellation of registration restrictions
- 2022-02-18 16:21:58下载
- 积分:1
-
Flex词法/语法分析器源码
Flex词法/语法分析器源码 -Flex syntactic and phrase parser code
- 2022-09-27 12:35:03下载
- 积分:1