搜索资源列表
shiyan2-a
- 这是一个用来生成表达工的值的程序 它可以输入8进制或十进制的数 建立一棵语法树 并返回表达式的值-This an expression used to generate value for the procedures it can be imported or 8 band of a few decimal establish a syntax tree and return to the value of the expression
tools and source code for Crafting a Compiler with
- 《Crafting a Compiler with C》一书的源代码及工具-"Crafting a Compiler with C," a book of the source code and tools
Judge_LL(1)
- 本设计使用C语言实现了对简单方法描述的LL(1)文法的判定。该设计程序实现了:⑴分别求出每一产生式的右部的FIRST 集、每一个非终结符的FOLLOW集和每一产生式的SELECT集;⑵判定是否是LL(1)文法;⑶画出预测分析表;⑷对给定的符号串判定是否是文法中的句子,分析过程在屏幕上打印出来。 欢迎大家给程序提出富贵意见!-the design of the C language to describe a simple method of LL (1) grammar convicted.
判断a^mba^n
- 判断a^mba^n m,n=0的字符串- Judges a^mba^n m, the n=0 character string
cmd_SNL_C_complier
- snl语言是一个简单的具有嵌套过程定义的过程式语言,本原码用C语言实现了SNL语言的词法分析,语法分析,语义分析,中间代码生成,中间代码优化,目标代码优化的完整模块,并有极为详细的注释,是学习编译原理的极佳材料。-snl language is a simple process with nested definition of language, Primitive code using C language of SNL language lexical analysis, parsing,
visual_SNL_C_complier
- snl语言是一个简单的具有嵌套过程定义的过程式语言,本原码用C语言实现了SNL语言的词法分析,语法分析,语义分析,中间代码生成,中间代码优化,目标代码优化的完整模块,并有极为详细的注释,是学习编译原理的极佳材料。-snl language is a simple process with nested definition of language, Primitive code using C language of SNL language lexical analysis, parsing,
语法分析
- 打开2.tab.c编译运行,a.txt为测试用的PL/0程序。 2.output中有所有的产生式和LALR分析表的所有状态。- Opens the 2.tab.c translation movement, a.txt is measures the test the PL/0 procedure. In 2.output has all production patterns and LALR analytical table all conditions.
ctags-5.6.tar
- Exuberant Ctags is a multilanguage reimplementation of the much-underused ctags(1) program and is intended to be the mother of all ctags programs. It generates indexes of source code definitions which are used by a number of editors and tools.
kawa-1.9.1
- A framework written in Java for implementing high-level and dynamic languages, compiling them into Java bytecodes. An implementation of Scheme, which is in the Lisp family of programming languages. Kawa is a featureful dialect in its own right, and
一个很好的文本编辑器
- 一个很好的文本编辑,实现了文本文件的创建、读入、保存。文件内容的修改:字、词、段的插入、删除、修改。文件内容的查找、替换:词,文件内容的Copy、Paste。不使用MFC-a good text editor, the realization of the creation of text files, read, the depositary. The contents of the documents modifications : Words, Phrases and of the ins
bypl0
- 按递归下降方式设计其编译程序,生成PL/0栈式指令代码,然后解释执行。用(a=1)+2*(b=3+4*5)/2+2*a*b-(a=a+5)/ (c=2) 测试-dropped by recursive approach to design their own compiler, generating PL / 0 Stack-code instructions, and then the interpretation and implementation. Using (a = 1) 2 * (
grammatica-0[1].4.tar
- Grammatica是一个C#和Java的语法分析程序生成器(编译器的编译器)。它可以用LL(k)语法创建可读的和带有注释的源代码。它也支持创建一个运行时语法分析器,带不生成源代码。语法产生式用EBNF描述,使用规则表达式的符号-Grammatica is a C# and Java syntax analysis program generator (compiler compiler). It can be used LL (k) to create readable syntax and
S语言说明
- 附录A S语言说明 A.1 字符集的定义 3数据类型定义-language A. A definition of the character set of data type definition
ll(1)YUFAPANDUAN
- 学编译原理时写的一个语法分析程序 分类:C/C++技术交流 一.[目的要求] ① 对输入文法,由程序自动构造FIRST FOLLOW集 ② 对输入文法,由程序自动生成它的LL(1)分析表; ③ 对于给定的输入串,应能判断识别该串是否为给定文法的句型。 二.[题目分析] 该程序可分为如下几步: (1)读入文法 (2)判断正误 (3)若无误,判断是否为LL(1)文法 (4)若是,构造分析表; (5)由总控算法判断输入符
PL0
- PL0 C语言版本 //A.2 C 版 本 /*编译和运行环境: *1Visual C++6.0,VisualC++.NET and Visual C++.NET 2003 *WinNT, Win 200, WinXP and Win2003 *2 gcc version 3.3.2 20031022(Red Hat Linux 3.3.2-1) *Redhat Fedora core 1 *Intel 32 platform *使用方法: *运行后
bianyiqi1
- 设计SAMPLE语言的词法分析器 检查要求: a] 启动程序后,先输出作者姓名、班级、学号(可用汉语、英语或拼音); b] 请求输入测试程序名,键入程序名后自动开始词法分析并输出结果; c] 输出结果为单词的二元式序列(样式见样板输出1和2);-Design SAMPLE language lexical analyzer inspection requirements: a] start the process, the first output of the author
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
Compiler
- 编译课上做的小程序,用四种分析方法分别实现(LL1,算符优先,递归下降,简单词法分析) 完成对正则文法所描述的Pascal语言子集单词符号的词法分析程序。 <标识符>→字母︱ <标识符>字母︱ <标识符>数字 <无符号整数>→数字︱ <无符号整数>数字 <单字符分界符> →+ ︱- ︱* ︱ ︱(︱) <双字符分界符>→<大于>=︱<小于>=︱<小于&g
a
- Is a code for demo thread
rca-TH1702-A-Audiovox
- RCA TH1702-A Audiovox
