搜索资源列表
编译原理及实践
目 录
译者序
前言
第1章 概论 1
1.1 为什么要用编译器 2
1.2 与编译器相关的程序 3
1.3 翻译步骤 5
1.4 
fenris
- Fenris是一个检测并把高层次的语言结构做成文档的多功能故障检测器、调试器、代码分析工具。它能回复符号,把程序执行流绘成图,检查内部运行情况,恢复符号表,并处理反调试保护。它有一个命令行接口和一个类似SoftICE的GUI与Web前端-Fenris is a detection and high-level language structure made of multifunctional document fault detect
cifaty
- (一) 程序设计要求 (1) 目 标 机:8086及其兼容处理器 (2) 中间代码:四元式 (3) 设计结果:四元式表、符号表、TOKEN串表 (4) 语义分析内容要求: 1) 变量说明语句 2) 赋值语句 3) 控制语句(任选一种) 4) 过程开始及结束语句 5) 分程序结构的符号表问题 6) 对子过程内部的源代码,暂时可以忽略生成四元式,但要对变量或常量入符号表。 -(a) program
200505241019311925
- PLO编译 (2) 输出单词,输出形式为:(序号,单词,对应源程序行号,对应源程序列号); (3) 输出出错信息,输出形式为:(出错行号,出错列号,出错信息); (4) 输出符号表,输出形式为:(单词种别码,单词符号); (5) 对源程序编辑框的某一行进行双击,能在单词编辑框中对应的单词变为红色; 当在单词编辑框中选定某一单词时,对应的源程序编辑框中的行变为蓝色。 (6) 打开、保存文件。查找、删除、修改等编辑工
hwfenxi
- 词法分析器,包括的关键字表和符号表,是针对C语言的,由于关键字表和符号表是在文本文档里建的,所以可以扩展,程序的可移植性比较好-lexical analyzer, including keyword table and symbol table is targeted at the C language, and keyword table is the symbol table in the text files in the bui
词法分析Lex
- 名称:C语言词法分析器 功能:1)从C语言源代码文件中提取所有词素 2)检测程序的词法错误,给出错误行号及提示 3)语法分析器的预备程序 文件:分析器代码(Lex.c)、测试文件(test.c)、状态转换图、可执行程序 输出:错误记录文件、符号表文件、标识符文件-Name lexical analyzer for C language function: 1)Extract all lexems from C Language
ProCompile
- 本程序为用VC开发的词法分析程序,它实现了生成Token串,词法分析阶段的错误检查,即填写符号表-procedures for the development of the VC lexical analysis procedures, it achieved a Token Generation Series, lexical analysis phase of the error checking that fill the sym
词法
- 这是一个词法分析器,、实验内容: 1. 设计扫描器的自动机; 2. 设计翻译、生成Token的算法; 3. 编写代码并上机调试运行通过。 • 要求:输入——源程序文件; 输出——(1)相应的Token序列; (2)关键字、界符表,符号表,常数表。-This a lexical analyzer, and the contents : 1. The design of automatic scanner machine; 2.
hwfenxi
- 词法分析器,包括的关键字表和符号表,是针对C语言的,由于关键字表和符号表是在文本文档里建的,所以可以扩展,程序的可移植性比较好-lexical analyzer, including keyword table and symbol table is targeted at the C language, and keyword table is the symbol table in the text files in the bui
FillTable
- 这是一个c程序,它是用来解决编译原理中的词法扫描程序,用来查添符号表。-c This is a program that is used to solve the compiler principles of lexical scanning procedures used to investigate Tim symbol table.
S语言词法分析程序
- 一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号,拼成单词,换成内部表示(token) 二、 实验要求 要求实现编译器的以下功能: 组织源程序的输入 按规则拼写单词,并转换成二元形式 删除空格及无用符号(如回车符,字符常数的引号符等) 发现并定位错误 建立单词表、符号表、常数
TestBNF
- 扩展巴氏范式判别器及测试程序,实现符号表、语法树、语法判别算法。-expansion Pap paradigm checker and test procedures to achieve the symbol table, the syntax tree, grammar discrimination algorithm.
funtionandnote
- 设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbo
complior
- 编译器词法分析 1. 设计扫描器的自动机; 2. 设计翻译、生成Token的算法; 3. 编写代码并上机调试运行通过。 • 要求:输入——源程序文件; 输出——(1)相应的Token序列; (2)关键字、界符表,符号表,常数表。 -compiler is a lexical analysis. Automatic design of the scanner; 2. Design translati
cifa
- 词法分析工作过程中建立符号表、常量表。 并以文本文件形式输出(按字典顺序输出)。词法分析的最后结果以文本文件形式输出。-Lexical analysis of the process of the establishment of symbol table, regular scale. And in the form of text file output (according to dictionary order of out
Analyze
- 读入源文件,对程序进行一遍扫描,输出二元式文件;符号表文件和出错信息文件-Read into the source file, the scanning process again, the output binary file symbol table files and error message files
ex1
- 扫描器设计 • 输入——源程序文件或源程序字符串; • 输出——相应的Token序列; 关键字表和界符表; 符号表和常数表; -Scanner design
bycx
- C++编写的编译程序,包括词法分析,语法分析(LL(1)),语义分析,输出分析过程、二元式、符号表和四元式。-Written in C++ compilers, including lexical analysis, syntax analysis (LL (1)), semantic analysis, the output of the process, binary type, symbol table and four-elem
链表操作
- 实现链表的各种操作,如统计文本中单词,数字以及其他符号的个数;求某个单词在文本中出现的所有位置;删除文本中的特定的字符串。(The implementation of the list of various operations, such as statistical text in the word, number, and other symbols of the number; find a word in the text a
基于二分查找的有序符号表
- 基于平行数组与二分查找的有序符号表是《算法》中的经典查找算法,本程序使用 Python 语言,实现有序符号表。 ST.py 包含两个类,ST 和 OrderedST。 ST是无序的符号表,基于链表实现。按照顺序将键值对插入链表。 OrderedST 则是基于平行数组的有序符号表。在进行查找的时候,使用 二分查找 算法。(The ordered symbol table based on parallel array and tw