搜索资源列表
sys
- 四元数工具箱,matlab环境下使用,为用户提供高效的仿真工具-Quaternion toolbox, matlab environment to provide users with efficient simulation tool
ww
- 多个程序,C++编写的。自己在做编译课设时搜集参考用的,呵呵,都放上来了,有各种语法写的,LL(1),LR的,递归下降的,还有语义分析部分,有四元式,逆波兰式等等,而且每个都能调试运行。(不好的,我可不拿出来现眼)-Number of procedures, C++ prepared. They are doing when compiling the collection of class-based reference, huh,
siyuanshi
- 编译原理 的赋值语句翻译,输出四元式!源程序代码!-Compiler assignment principles of translation, the output quaternion type
express
- 简单赋值语句翻译成四元式 (编译原理实验)-Translated into a simple assignment statements quaternion type (Compiler Principle Experiment)
yyfx
- 实验目的 通过上机实习,加深对语法制导翻译原理的理解,掌握将语法分析所识别的语法成分变换为中间代码的语义翻译方法. 实验要求 采用递归下降语法制导翻译法,对算术表达式、赋值语句进行语义分析并生成四元式序列。 实验的输入和输出 输入是语法分析提供的正确的单词串,输出为三地址指令形式的四元式序列。 例如:对于语句串 begin a:=2+3*4 x:=(a+b)/c end# 输出的三地址指令如下:
123
- 微型惯性测量组合(MIMU:Micro-inertial measurement unit)是国际上近年来发展起来的新技 术,作为一种不依赖任何外部信息,也不向外部辐射能量的自主式系统-Abstract:The Micro strapdown inertial measurement unit System are introduced, attitude algorithm and Kalman filtering equ
20064350132
- 通过设计,编制,调试一个语法及语义分析程序,加深对语法及语义分析原理的理解。 IF 〈布尔表达式〉 THEN 〈赋值语句〉 ELSE 〈赋值语句〉 其中 (1)、可以选择递归下降法、LL(1)、算符优先分析法、LR法完成以上任务,中间代码选用四元式。 (2)、 写出符合分析方法要求的文法,给出分析方法的思想,完成分析程序设计。 (3)、 编制好分析程序后,设计若干用例,上机测试并通过所设计的分析程序。
chen2
- 语义分析器的c++代码实现,能够从用户输入的源程序中识别一个个单词,并将用户命令以四元式形式输出-Semantic analyzer c++ code can be input from the user to identify the source of a word, and user-type command to quaternion form of the output
for
- FOR循环语句的翻译程序设计(递归下降法、输出四元式) -FOR loop design of the translation process (recursive descent method, the output quaternion type)
ccc
- DO—WHILE 语句的翻译程序(使用LL(1)文法输出四元式)-DO-WHILE statement translation process (the use of LL (1) grammar output quaternion type)
siyuanshi
- 中缀表达式转换成四元式的代码,用C语言实现的-Infix expression into a quaternion-based code, using C language realization of the
2
- WHILE循环语句的翻译程序设计(LR方法、输出四元式)-WHILE loop design of the translation process (LR method, the output quaternion type)
3
- FOR循环语句的翻译程序设计(递归下降法、输出四元式)-FOR loop design of the translation process (recursive descent method, the output quaternion type)
4
- FOR循环语句的翻译程序设计(递归下降法、输出四元式)包括源码+报告书-FOR loop design of the translation process (recursive descent method, the output quaternion type), including source code+ Report
LR_Exp
- LR 语法分析 词法分析 四元式输出 语义分析-Lexical Analysis of LR parsing quaternion output semantic analysis
dowhile
- 设计一个WHILE循环语句的词法﹑语法及语义分析程序,语法分析选择LR方法,采用用语法制导翻译输出中间代码四元式。-The design of a WHILE loop ﹑ the lexical grammar and semantic analysis procedures, choice of LR parsing method guided by syntax translation output intermediate co
ifelse
- 此程序是对条件语句进行翻译,输入一个条件语句,例如:if B then C1 else C2,先进行词法分析,词法分析的主要任务是:从左到右逐个字符地对源程序进行扫描,产生一个个的单词符号,把作为字符串的源程序改造成为单词符号串的中间程序,词法分析是编译的基础,词法分析的功能是输入源程序,输出单词符号(关键字,标识符,常数,运算符,界符),词法分析完成之后,再进行LL(1)语法分析,语义分析,最后输出四元式(语法分析,属性文法,四元式的
recursive
- 利用c语言实现编译的FOR循环,递归下降法,四元式输出的形式-C language compiler to use the FOR cycle, recursive descent method, quaternion form of output
fuzhilanguageanlysis
- 赋值表达式的翻译程序,中间代码是四元式 采用LR分析方法,有使用说明-Assignment expression of the translation process, intermediate code is the use of LR-type quaternion analysis methods are used to indicate
11
- until 语句的LR翻译程序设计 是用JAVA语言编写的 能实现词法分析和语法分析的功能 并且输出四元式-LR sentence until the translation of the program design JAVA is the language used to achieve lexical analysis and syntax analysis of the function and output