-
c语言分析器。读入一个C语言程序以确定该程序不是合法的C语言程序。如果程序有语法和语义错误,请给出错误消息。至少要处理以下错误:(1)所有的语法错误。C-语法,见C-文档(2)语义错误:
- 2022-05-07 03:29:31下载
- 积分:1
-
Magic C++!的源代码
Magic C++!的源代码-Magic C! Source code
- 2022-08-25 21:25:53下载
- 积分:1
-
我的词法分析程序,是编译原理要做的一个,放上来大家
我的词法分析程序,是编译原理要做的一个,放上来大家-my lexical analysis procedure to be done is to compile a principle, we see Fangshanglai
- 2023-04-08 04:55:03下载
- 积分:1
-
-
- 2022-06-13 21:40:01下载
- 积分:1
-
pl0, written in C, small and there are examples! Detailed notes
pl0,用C写的,短小精悍,还有实例!详细注解-pl0, written in C, small and there are examples! Detailed notes
- 2022-02-05 16:40:04下载
- 积分:1
-
ll1的词法分析实现,没有短语分析,只是确定是不是LL1文法.
ll1的词法分析实现,没有短语分析,只是确定是不是LL1文法.-ll1 achieve the lexical analysis, no phrase, is not only determined LL1 grammar.
- 2022-03-11 02:02:20下载
- 积分:1
-
has some history of C language compiler, originally developed for Motorola 68000...
一款拥有一定历史的C语言编译器,最初为MOTOROLA 68000 开发,后来为其他一些通用处理器实现了后端,支持C99中的大部分新特性。-has some history of C language compiler, originally developed for Motorola 68000, Later, some of the other processor to achieve a common back-end, the C99 support most of the new properties.
- 2023-04-14 06:00:04下载
- 积分:1
-
TCM编码的调制端,采用8PSK,2/3码率的卷积码的matlab程序
TCM编码的调制端,采用8PSK,2/3码率的卷积码的matlab程序-TCM coded modulation client, using 8PSK, 2/3 code rate of convolutional codes of matlab program
- 2023-08-31 17:00: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
-
这是我们学习编译原理时做的一个程序. 是一个简单的词法分析程序.将一个文本文件时的推导规则进行....
这是我们学习编译原理时做的一个程序. 是一个简单的词法分析程序.将一个文本文件时的推导规则进行.-This our compiler theory when learning to do a procedure. It is a simple lexical analysis procedure. A text file of the derivation rules.
- 2022-03-09 09:57:24下载
- 积分:1