搜索资源列表
yufafenxiqi
- 语法分析器(C++)源代码+其详细的课程设计报告 输入的文法可以消除左递归并提取公共左因子求出文法的非终结集合——FIRST和FOLLOW集并对输入的算符优先文法,构造算符优先关系表 -Parser (C++) Source code its detailed report on curriculum design input left recursive grammar can be eliminated and the public left factor extract der
First_Follow_FOR.NET
- .NET源码,First集与follow集和LL1文法的实现-. NET source code, First set and follow set and achieve LL1 grammar
lua-1.0
- lua的第一个版本源码,非常好的 -lua first version of the source code, very good lua first version of the source code, very good
Minijava-MIPS
- 一个Minijava编译器,主要实现是先将Minijava翻译成Piglet,再翻译成Spiglet,接着翻译成Kanga,最后翻译成能够在spim模拟器上运行的MIPS代码。-A Minijava compiler, the main achievement is the first Minijava translated into the Piglet then translated into Spiglet, then translated into Kanga, finally tran
TYAPCursa4
- My first code-verifying program. Now I m working on a program that would find defects in source code and fix them.
framesubtraction
- Frame subtraction code written by me using matlab it takes a video s first frame and subtract each frame from it. it shows output video and input video side by side
fastVideoLoading
- Fast video loading code do background subtraction subtracting all frames from first frame and show the result video so fast
extractForeground
- Fast video loading code do background subtraction subtracting all frames from first frame and show the result video so fast
displaytwovideos
- this code do background subtraction subtracting all frames from first frame and show the result video and input video
PL0Compiler-C
- PL/0编译器C++/C版本 1. 测试文件必须是以testin.pl0命名的文件。 2. 成功运行测试程序后,会生成testout.txt的文件,里面包括代码、指令和运行结果。 3、First.cpp--只包含词法语法分析,Error.cpp--加入了出错处理,All.cpp--包含代码生成和解释程序,是完整编译器。-请键入文字或网站地址,或者上传文档。 取消 PL/0 biānyì qì C++/C bǎnběn 1. Cèshì wénjiàn bìxū shì yǐ
CP_test_1
- 编译原理实验 词法分析 一、实验目的: 通过设计编制调试一个具体的词法分析程序,加深对词法分析原理的理解。并掌握在对程序设计语言源程序进行扫描过程中将其分解为各类单词的词法分析方法。 二、实验内容 编制一个能够分析整数、小数、字符串、标识符、分隔符、运算符和关键字的词法分析程序。同时要能过滤行注释和块注释。 三、实验要求 1、词法规则 关键字: if、then、else、while、do、int、float、string、begin、en
code
- 编译原理,预测分析器,可求出first集,follow集,并构造出LL(1)分析器-Compiler theory, prediction analyzer can be obtained first set, follow set, and construct LL (1) parser
FLyuce
- 《编译原理》陈火旺版的预测分析程序的代码实现,主要步骤是从输入文法,先求first集和follow集,然后构造预测分析表,最后对文法进行预测分析。-" Compiler Principle" Code Chen Huo version of predictive analytics program implementation, the main steps the input grammar, seeking first set and follow the first s
st_1
- 本章实验为实验一,任务是编写一个程序对使用C 语言书写的源代码进行词法分析和语法分析(C 语言的文法参见附录A),并打印分析结果。实验要求使用词法分析工具GNU Flex和语法分析工具GNU Bison,并使用C语言来完成。-This chapter first experiment experiments, the task is to write a program to use C source c
some
- Some code :3 First time using C-Some code :3 First time using C++
lab2
- 任务是在词法分析和语法分析程序的基础上编写一个程序,对C 源代码进行语义分析和类型检查,并打印分析结果。与实验一不同的是,实验二不再借助已有的工具,所有的任务都必须手写代码来完成。另外,虽然语义分析在整个编译器的实现中并不是难度最大的任务,但却是最细致、琐碎的任务。因此需要用心地设计诸如符号表、变量类型等数据结构的实现细节,从而正确、高效地实现语义分析的各种功能。 需要注意的是,由于在后面的实验中还会用到本次实验已经写好的代码,因此保持一个良好的代码风格、系统地设计代码结构和
rebol-master
- Rebol [R3] Source Code Distribution-Rebol [R3] Source Code Distribution,This first release is intended for non-Windows systems like Linux, Mac, BSD, Android, etc.
LL1
- LL1源码 包括FIRST\SECOND\LL1表-LL1 SOURCE CODE