搜索资源列表
简单的语义分析basic
- 简单易用 易看的编译器 带词法分析和语法分析 输出是二元式和四元式 使用读取文件的方式进行编译 功能基本完整-easy to use easy to see the compiler with lexical analysis and parsing the output of which is dual-and four yuan-use read the document compiled basic functional integrity
yufafenxi
- 本课程设计即为词法分析阶段。词法分析阶段是编译过程的第一个阶段。这个阶段的任务是从左到右一个字符一个字符地读入源程序,对构成源程序的字符流进行扫描和分解,从而识别出一个个单词(也称单词符号或符号)。如保留字(关键字或基本字)、标志符、常数、算符和界符等等。-the curriculum design shall lexical analysis stage. Lexical analysis stage of the process is to compile the first phase.
cifafnxiqi
- 词法分析器 编译程序中可以对读入的语句进行词法分析,拆分成记号流-lexical analyzer compiler can be read into the right phrase for lexical analysis, split into streams mark
cifabianyiyuanli
- 输入:一段任意的程序(字符串)。 输出:相应的属性字序列。 要求:⒈不处理说明部分,但属性字的符号类除了编码外,应包含更多的信息(如运算符的优先级等); ⒉小子集中包含的符号类应有典型性,且尽可能丰富; ⒊为了使用方便和便于阅读,应有帮助信息,说明可以有哪些符号,属性字的结构如何等; 说明;⒈为了直观起见,属性字中的符号值可以是符号本身,而不是助忆符; ⒉符号的种类以及符号的编码是事先规定的,可考虑扩充的可能性。 -input : a random proced
tcc-0.9.23
- Tiny C Compiler - C scr ipting Everywhere - The Smallest ANSI C compiler Installation on a i386 Linux host (for Windows read win32/readme.txt) ./configure make make test make install By default, tcc is installed in /usr/local
suqaretryango
- 设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck
lexicalanalysis
- 为了实现的编译程序实用,源程序可采用自由书写格式,即一行内可以书写多个语句,一个语句也可以占领多行书写;标识符的前20个字符有效;整数用2个字节表示;长整数用4个字节表示。这样词法分析程序的主要工作为: (1)从源程序文件中读入字符。 (2)统计行数和列数用于错误单词的定位。 (3)删除空格类字符,包括回车、制表符空格。 (4)按拼写单词,并用(种别,单词)二元式表示。 (5)根据需要是否填写标识符表供以后各阶段使用。 这里采用的编译程序的实现方法是一遍扫描,即从左到右只
huffmanqi
- 本程序不能编译除大小写字母之外的编码 本程序需事先建立字母权值文后件才可运行 本程序从文件中读入文字,编译后写入文件,所以屏幕上不会直接出现答案-not build this program in addition to case-insensitive outside of the coding process required prior to the establishment of the letters after the value of the text pieces
dierzuoye-cifa
- 第二个编译作业~词法分析器~从一个文件读入代码分析后将结果写到另一个文件中-second compiler operations ~ ~ lexical analyzer from a document read into the code analysis results will wrote another document
fzyjfy
- 一个简单赋值语句翻译为四元式的动态教学程序,效果非常好,值得学习编译程序的朋友下载一看,看后一定会有不一样的感受.-a simple assignment for the translation of the four yuan-dynamic teaching procedures, the effect was very good, worth learning compiler downloaded a friend to read and of course there is not t
signalf
- 从文法文件中读入终结符、非终结符、开始符、文法,输出FIRSTVT集,LASTVT集和算符优先矩阵-from grammar document read into the end of website - end website address beginning, grammar, and the output FIRSTVT set, LASTVT set priorities and operator matrix
Soft20060210105922892
- 这是学《编译原理》时的上机实验。可实现对C语言的词法分析,关键字32个,包含了C的绝大部分运算、限界符,主要是对文件进行读、写操作,节省内存消耗,自以为是一个不错的词法分析程序。运行环境为VC++6.0。-This is the time for "compiler theory," the experiment on the plane. To be able to achieve C language lexical analysis, keyword 32, C con
xiaoyuyancifafenxi
- 一个用于小型语言的词法分析,读出的最长的字符串不超过MAXBUF,MAXBUF定义为2-a small language for lexical analysis, read out the longest string of not more than MAXBUF. MAXBUF defined as 2
plo(CB)
- 我在三做的课程,当时拿到了95分,包括完整的报告,有IF/else/read/for等语句的plo-I do three courses, then get 95 hours, including a full report, IF there / else / read / for such phrases as the plo
word-analysis
- 词法分析程序。可实现对C语言的词法分析,关键字32个,包含了C的绝大部分运算、限界符,主要是对文件进行读、写操作,节省内存消耗,是一个不错的词法分析程序。-lexical analysis procedure. To be able to achieve C language lexical analysis, keyword 32, C contains the majority of operations Bound website. principal of the document to
JAVA_SCANNER
- 一个简单的JAVA语言的词法分析器,读入文件,经过词法分析将分析结果写入输出文件中.(附JAVA词法分析要求)-a simple Java language lexical analyzer, read into the document, After lexical analysis of the results of the analysis into the output file. (JAVA lexical analysis requirements)
myprogam
- ds18b20相关程序 单点温度读取 64位光刻序列读取-ds18b20 related procedures single point temperature read 64 lithography sequence read
homework_of_compile2
- 一个编译原理的词法分析程序,功能都已经完备了,可以从文件读入,输出分析完成的各个词-a compiler tenets of lexical analysis procedures, functions have been perfect, and can be read into the document. Analysis of the output of completed all words
myfive
- 用c#写的五子棋游戏,比较小,而且易读懂。-used to write c # in 331 games, is relatively small, but easy to read.
lexer_analist
- 通过对文档infile的读入 输出outfile的文件,outfile将infile中的编译语句分类组织-of the document infile outfile read into output documents, infile outfile to compile the statement classification