搜索资源列表
编译原理课程设计与实现(毕业设计)
- 环境:windows98/2000/xp,Visula C++6.0下编译通过.毕业设计的题目,基本上按照编译原理的步骤实现的,有词法分析,检查,表成式生成等,我想大家应该都会喜欢的!-environment : windows98/2000/xp, Visula 6.0 C compiler through. Graduation topic, basically compiled in accordance with the principle of the steps, lexical a
DrakeCompiler
- 这可是我的倾情制作,离卖弄的语法分析器,是自己写的实现程序,不使用他人的结果,直接从原始语法里进行推理计算的,而且这个使用c语言实现的,很多底层函数都是自己来写,像hash表里的hash函数,还有像动态自增长分配等。当然这个还很不完善,但是已经作了很多工作,差就差在没有找到理想的脚本支持语言,最后没有办法只能用函数指针的数组来进行语义调用了。-this but my DEDECATES production, from the play of parser, written in their o
ansi_yacc
- 标准C的语法分析的yacc文件,可以用bison 等语法分析生成器编译,生成标准C的语法 分析部分,可以和前面的Lex部分组成C编译 器的前端-standard C syntax analysis generates a file that can be used, such as bison syntax analysis compiler generator, generate standard C syntax analysis, and can in front of Lex
c语言词法分析器
- 很好的c语言词法分析程序,该词法分析程序用VC++ 6.0编写,以FileOpenDialog打开的*.c或*.cpp文件为语言字集的 源程序作为词法分析程序的输入数据,经词法分析程序分析后的结果保存在源文件的同目录 的outpu.. 开发工具:C++Builder, 提供者:汤超 · 词法分析器11.rar, 2005-12-25 -good language lexical analysis procedures, the lexical analysis procedures us
PowerToy
- PowerToy是为方便程序员在命令行窗口中使用Visual Studio.NET 2003 中的各种命令行工具而开发的一个小程序。它在资源管理器的弹出菜单中增加一项[打开命令行窗口]。点击该菜单项后,系统会在资源管理器当前工作路径处打开一个命令行窗口,并在此窗口中自动设置Visual Studio的环境变量,如PATH。程序员在此窗口中可方便地执行Visual Studio.NET 2003中的各种命令行工具,如C++、C#的编译器等等。-PowerToy for the convenienc
cifafenxiqi4
- 词法分析器,将输入的字符串识别成c语言的关键字等-lexical analyzer, the input string as c identification of keywords, such as language
C_minus语言说明
- C_minus语言的BNF语法定义 程序由声明的列表(或序列)组成,声明可以是函数或变量声明,顺序是任意的。至少必须有一个声明。接下来是语义限制(这些在C中不会出现)。所有的变量和函数在使用前必须声明(这避免了向后backpatching引用)。程序中最后的声明必须是一个函数声明,名字为main。注意,C-缺乏原型,因此声明和定义之间没有区别(像C一样)。-C_minus BNF language syntax definition of procedures from the list of
C++
- 词法分析是编译程序的第一个处理阶段,可以通过两种途径来构造词法分析程序。其一是根据对语言中各类单词的某种描述或定义(如BNF),用手工的方式构造词法分析程序。例如,可根据文法或状态转换图构造相应的状态矩阵,该状态矩阵同控制程序便组成了编译程序的词法分析程序;-Lexical analysis is a compiler of the first processing stage, can be two ways to construct the lexical analysis process.
lua-5.1.2CE
- Lua is a powerful, fast, lightweight, embeddable scr ipting language. Lua combines simple procedural syntax with powerful data descr iption constructs based on associative arrays and extensible semantics. Lua is dynamically typed, runs by interpre
F67179FJDMEQ2W3HND
- C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video
masmsetup
- 直接用指令码写出第一个汇编语言编译器,然后就可以用汇编语言写新的编译器,其实很多语言都可以写汇编编译器 比如第一个C语言编译器可能是用汇编写的,但是以后的C编译器都可以用C语言来写,神奇吧,哈哈 -Directly write the scr ipt the first assembly language compiler, and then you can use assembly language to write a new compiler, in fact, many la
Compiler
- 本设计Tiger语言为源语言,制作了编译程序的前端部分,主要包括了词法分析、语法分析、抽象语法树和类型检查的设计和实现方法,以及课程设计中碰到的问题、实验心得、参考数据等。-Tiger of the design language for the source language, has produced a compiler front-end parts, including the lexical analysis, syntax analysis, abstract syntax tre
LR
- 1.实验目的 设计一个LR分析器,实现对表达式语言的分析,加深对LR语法分析方法的基本思想的理解,掌握LR分析器设计与实现的基本方法。 2.实验要求 建立文法及其LR分析表表示的数据结构,设计并实现一个LALR(1)的分析器,对源程序经词法分析后生成的二元式代码流进行分析,如果输入串是文法定义的句子则输出“是”,否则输出“否”。 3.实验内容 (1)文法描述及其LALR(1)分析表 描述表达式语言的文法G如下: -1. The experiment was to de
antlr2.7.5
- ANTLR是什么ANTLR, 语言识别的另一个工具(ANother Tool for Language Recognition),( 前身是 PCCTS)是一种语言工具,它提供了一个框架,可以通过包含Java,C++,或C#动作的语法描述来构造语言识别器,编译器和解释器。 算机语言的解释已经变成了一种非常普遍的工作。传统的计算机语言的编译器和工具(如C或Java)仍旧需要被构造,它们的数量与需要开发的那些成千上万的小语言的识别工具和解释工具相比是相形见拙。程序员为了解析数据格式,图形文
Simple_Language_Lexer
- 这是一个使用了LEX所编写的Simple语言的词法分析器。Simple语言的定义说明请看附件。这个LEX的源代码可以通过Parser Generator 2来转化成为h文件跟cpp文件。由于编译这两个文件需要使用到Parser Generator 2的C++库,所以就只上传了LEX的源代码,谁感兴趣的可以自己通过Parser Generator 2来转化。至于UNIX下面的LEX工具如果想要转化的话需要修改其主程序,另外需要将LEX源代码之中有关C++语言的表达形式修改成为相应的C语言的表现形式
a
- C语言关键字中英翻译机。要求输入中文的名词和关键字,可以将其翻译成英语,如输入“基本整形”回车,得到int.-C language keywords in the English translation machine. For the importation of Chinese terms and keywords that can be translated into English, as input " basic shaping," Enter, get int.
syntax.c
- 一个用C语言实现的简单的语义分析器。可作为编译原理课的参考。-A simple to use C language semantic analyzer.Can use it as a reference in Compiler theory class.
lexical.c
- 一个用C语言实现的简单的词法分析器。可作为编译原理课的参考。-Using C language implementation of a simple lexical analyzer.You can use it as a reference in Compiler theory class.
semantic.c
- 一个用C语言实现的简单的语法分析器。可以作为编译原理课的参考。-A simple parser to use C language. You can use it as a reference in Compiler theory class.
C
- We see that the use of Embedded C language - based on its productivity and portability merits - is gradually expanding in Japan. We have implemented a complete suite of tests for the Embedded C language extensions into our well known C Compiler Quali