搜索资源列表
编译原理及实践
- 目 录 译者序 前言 第1章 概论 1 1.1 为什么要用编译器 2 1.2 与编译器相关的程序 3 1.3 翻译步骤 5 1.4 编译器中的主要数据结构 8 1.5 编译器结构中的其他问题 10 1.6 &
fenris
- Fenris是一个检测并把高层次的语言结构做成文档的多功能故障检测器、调试器、代码分析工具。它能回复符号,把程序执行流绘成图,检查内部运行情况,恢复符号表,并处理反调试保护。它有一个命令行接口和一个类似SoftICE的GUI与Web前端-Fenris is a detection and high-level language structure made of multifunctional document fault detection, debugging, code analysis
cifaty
- (一) 程序设计要求 (1) 目 标 机:8086及其兼容处理器 (2) 中间代码:四元式 (3) 设计结果:四元式表、符号表、TOKEN串表 (4) 语义分析内容要求: 1) 变量说明语句 2) 赋值语句 3) 控制语句(任选一种) 4) 过程开始及结束语句 5) 分程序结构的符号表问题 6) 对子过程内部的源代码,暂时可以忽略生成四元式,但要对变量或常量入符号表。 -(a) program design requirements (1) Targe
200505241019311925
- PLO编译 (2) 输出单词,输出形式为:(序号,单词,对应源程序行号,对应源程序列号); (3) 输出出错信息,输出形式为:(出错行号,出错列号,出错信息); (4) 输出符号表,输出形式为:(单词种别码,单词符号); (5) 对源程序编辑框的某一行进行双击,能在单词编辑框中对应的单词变为红色; 当在单词编辑框中选定某一单词时,对应的源程序编辑框中的行变为蓝色。 (6) 打开、保存文件。查找、删除、修改等编辑工作。 -PLO compiler (2) output
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 building, so it can be extended,
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.
020789周磊编译原理上机作业
- 介绍语法制导翻译和各种语法成分的中间代码的生成;第6章介绍符号表的 组织和使用;第7章介绍运行时存储空间的组织与分配;第8章介-guidance on grammar and translation of various grammatical elements in the middle of the code generation; Chapter 6 on the symbol table of organization and use; Chapter 7 on storage sp
S语言词法分析程序
- 一、 实验内容 S语言的编译程序的词法分析部分实现 从左到右扫描每行S语言源程序的符号,拼成单词,换成内部表示(token) 二、 实验要求 要求实现编译器的以下功能: 组织源程序的输入 按规则拼写单词,并转换成二元形式 删除空格及无用符号(如回车符,字符常数的引号符等) 发现并定位错误 建立单词表、符号表、常数表等文件 三、 实现方法 数据结构 1、
TestBNF
- 扩展巴氏范式判别器及测试程序,实现符号表、语法树、语法判别算法。-expansion Pap paradigm checker and test procedures to achieve the symbol table, the syntax tree, grammar discrimination algorithm.
max
- 设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck
textbook2
- 设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck
suqaretryango
- 设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck
funtionandnote
- 设计文档基本内容如下: 1) 整体框架 2) 词法分析 Class CTokenizer Class CScaner C关键字表 标识符词法 3) 语法分析 Class CParser Grammar 基本树形结构 支持的语句及运算 4) 建立符号表 Class LineListRec Class BucketListRec Class CSymbolTable Class CFunArgsCheck
byylscanner
- 此为编译原理的词法分析部分,包括源程序的录入,token,错误,符号表的输出及保存,作的不是太好-this principle to build the lexical analysis, including the source of input, token, the erroneous, Symbol Table output and storage, is not very good for!
C_Parser
- 一个用于学习的编译器 ,系统的一般构造原理、基本设计方法、主要实现技术和一些自动构造工具,主要由语言基础知识、词法分析、语法分析、中间代码生成、代码优化、目标代码生成、符号表的构造和运行时存储空间的组织等8部分组成。-a study for the compiler, the system's general tectonic theory, the basic design method main technical and automatically constructs some
20070213ekhtml-0.3.1
- 一个开源heml语意分析器 ekhtml: The El-Kabong HTML parser SUMMARY: El-Kabong: A speedy, yet forgiving, SAX-stylee HTML parser. PROJECT INFORMATION: Web Site: ekhtml.sourceforge.net The web site contains links to locations wher
caoyuting
- 实现了简单的Simple语言的编辑器,包括词法分析,语法分析,生成四元式,以及生成符号表功能,在符号表中还可以进行查询与删除.-achieve a simple Simple language editors, including lexical analysis, grammar analysis, generation-four yuan, Generation and symbol table functions in the symbol table can also make inqu
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-element scheme.
链表操作
- 实现链表的各种操作,如统计文本中单词,数字以及其他符号的个数;求某个单词在文本中出现的所有位置;删除文本中的特定的字符串。(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 appears in all locations; delet
基于二分查找的有序符号表
- 基于平行数组与二分查找的有序符号表是《算法》中的经典查找算法,本程序使用 Python 语言,实现有序符号表。 ST.py 包含两个类,ST 和 OrderedST。 ST是无序的符号表,基于链表实现。按照顺序将键值对插入链表。 OrderedST 则是基于平行数组的有序符号表。在进行查找的时候,使用 二分查找 算法。(The ordered symbol table based on parallel array and two point lookup is the classic