登录
首页 » Compiler program » 这是一个词法分析程序,能够区分标识符、数字、表达式。程序输入为一个文件,程序结果保存到一个链表中。...

这是一个词法分析程序,能够区分标识符、数字、表达式。程序输入为一个文件,程序结果保存到一个链表中。...

于 2022-09-26 发布 文件大小:21.34 kB
0 183
下载积分: 2 下载次数: 1

代码说明:

这是一个词法分析程序,能够区分标识符、数字、表达式。程序输入为一个文件,程序结果保存到一个链表中。-This is a lexical analysis procedure and can distinguish identifier, figures and expression. Procedures for the importation of a document, the results of the proceedings to preserve a Linklist.

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

发表评论

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
  • Compiler Principle of First Set and Follow procedures set generation, which is m...
    编译原理中的First集与 Follow集生成程序,这是我用C++语言写的,希望对大家有点用处。-Compiler Principle of First Set and Follow procedures set generation, which is my C++ languages, we hope to somewhat useful.
    2022-08-03 11:14:07下载
    积分:1
  • htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简化维护一个一致外观的Web页面集....
    htp是一个HTML预处理器。页面可以用htp扩展的类HTML的宏编写。这可以简化维护一个一致外观的Web页面集.-htp is a HTML pretreatment. The page may use the kind of HTML great compilation which htp expands. This may simplify maintains a consistent outward appearance the Web page collection
    2022-03-14 09:42:38下载
    积分:1
  • 很详细的PL0编译演示程序,学习编译的极品!
    很详细的PL0编译演示程序,学习编译的极品! -very detailed PL0 compiler Demonstration Program, the study compiled Acura!
    2022-04-14 14:02:01下载
    积分:1
  • 一个简单的编译器,词法分析,语法分析,代码生成
    一个简单的编译器,有词法分析,语法分析,代码生成-a simple compiler, lexical analysis, grammar analysis, code generation
    2022-04-16 04:53:04下载
    积分:1
  • Magic C++!的源代码
    Magic C++!的源代码-Magic C! Source code
    2022-08-25 21:25:53下载
    积分:1
  • jsp technology, a management system management system
    jsp技术,一个管理系统-jsp technology, a management system management system
    2022-06-21 08:42:16下载
    积分:1
  • 词法分析器
    词法分析器-lexical analyzer
    2023-06-13 04:10:03下载
    积分:1
  • SIP software development record as a closed network, network structure of the co...
    SIP软件开发记录 由于通信网的封闭性,网络结构的复杂性,通信设备的多样性,使得通信软件难以在一个统一的平台(包括硬件平台和操作系统平台)下运行,所以迄今为止,通信行业的开源项目仍屈指可数。    下面,我们把通信类的软件简单的进行一下划分-SIP software development record as a closed network, network structure of the complex nature of the diversity of communications equipment, making it difficult to communication software in a unified platform (including the hardware platform and operating system platform) running, so far, the telecommunications industry is still a few open-source projects . Now, we kind of communication software for about a simple division
    2022-03-24 00:38:51下载
    积分:1
  • 一个C++函数解释器,很好用的。
    一个C++函数解释器,很好用。-a C function interpreter, a good use.
    2023-06-21 03:40:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载