-
The use of C/C++ language as the implementation language, to achieve a simple PL...
使用C/C++语言作为实现语言,实现一个简单PL/0语言的编译器。手工编码实现编译器的组成部分。语法分析程序采用递归下降分析法。-The use of C/C++ language as the implementation language, to achieve a simple PL/0 language compiler. Hand-coding part of the compiler. Parser uses recursive descent analysis.
- 2023-03-06 02:05:03下载
- 积分:1
-
一些开发软件和资料,对开发有帮助,可以
一些开发软件和资料,对开发有帮助,可以-some software development and information to help develop, we can
- 2022-01-25 19:16:39下载
- 积分:1
-
利用LEX生成工具生成统计文本文件中字符、单词和行数,并报告统计结果。...
利用LEX生成工具生成统计文本文件中字符、单词和行数,并报告统计结果。-LEX generated using statistical tools generated text file of characters, words and action, and a report on results.
- 2022-07-24 22:42:02下载
- 积分: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
-
这是一个哈夫曼编译器,是我学数据结构的时候老师要求做的一个作业...
这是一个哈夫曼编译器,是我学数据结构的时候老师要求做的一个作业-This is a compiler Huffman, I studied the data structure when the teacher demanded an operations
- 2022-01-25 20:10:47下载
- 积分:1
-
类pascal的词法分析设计,内容详细。 这是我老师的教案,我看内容较全,希望对您也有帮助!...
类pascal的词法分析设计,内容详细。 这是我老师的教案,我看内容较全,希望对您也有帮助!- The kind of pascal lexical analysis design, the content is
detailed. This is my teacher teaches the document, I looked content
comparatively entire, hoped also has the help to you!
- 2022-01-22 07:51:57下载
- 积分:1
-
词法分析程序.我自己编程的词法分析程序.很好用
词法分析程序.我自己编程的词法分析程序.很好用-Lexical analysis program
- 2022-04-06 10:55:10下载
- 积分:1
-
一个写得很不错的C编译器,供需要写编译器的人参考一下。
一个写得很不错的C编译器,供需要写编译器的人参考一下。-A very good C compiler, the compiler of supply and demand of people to write reference.
- 2023-02-04 18:15:03下载
- 积分:1
-
数控仿真软件,华中数控差补软件插值…
数控NC模拟软件,华中数控差补软件,实现插补功能-NC NC simulation software, Huazhong CNC differential premium software interpolation function to achieve
- 2022-07-18 05:51:46下载
- 积分:1
-
这是一个词法分析的小程序,希望大家多多指教
这是一个词法分析的小程序,希望大家多多指教-This is a lexical analysis of small procedures, we hope the exhibitions
- 2022-03-25 21:05:53下载
- 积分:1