搜索资源列表
zidingxiangxiashiyan
- 自顶向下语法分析 实验报告 对于给定的源程序(如C语言或Pascal等),要求从组成源程序的字符行中寻找出单词,并给出它们的种别和属性——输出二元组序列。以便提供给语法分析的时候使用。要求能识别所有的关键字,标志符等,并且能够对出先的一些词法规则的错误进行必要的处理。-top-down syntax analysis report for the experiment to the source (such as C or Pascal
BYexperiment
- 一个简单的编译器程序,实现了词法分析和语法分析部分-a simple compiler procedures, the lexical analysis and syntax analysis of
PL0Backup
- 《PL/0的编译器》:PL/0语言是Pascal语言的一个子集,《PL/0的编译器》实现了把客户用PL/0语言编写的程序编译成类PCODE代码,并能虚拟机上解释运行生成的类PCODE代码的功能。《PL/0的编译器》采用以语法分析为核心、一遍扫描的编译方法。词法分析和代码生成作为独立的子程序供语法分析程序调用。语法分析的同时,提供了出错报告和出错恢复的功能。-"PL/0 compiler" : PL/0 Pascal
SyntaxEngineDemo
- C#.net 编程实现的语法分析器,希望能帮到各位!-C#. Net programming syntax analyzer, hoping to be able to help you!
SLR(0)
- SLR(0)语法分析的简单赋值语句的翻译程序,含词法分析,共800行-SLR (0) syntax analysis of the simple assignment of the translation process, including lexical analysis, a total of 800 firms.
LRfanyichengxu
- 用LR法做的词法分析+语法分析+语义分析程序,对赋值语句进行翻译(用txt文档输入赋值语句)-LR Act do with the lexical analysis of syntax analysis semantic analysis procedures, The assignment for the translation (txt file with the importation of assignment)
DO-WHILE
- 通过设计、编制、调试一个DO-WHILE循环语句的语法及语义分析程序,加深对语法及语义分析原理的理解,并实现词法分析程序对单词序列的词法检查和分析。-through design, develop and debug a DO-WHILE cycle statement syntax and semantic analysis procedures, deepen the syntax and semantic analysis of
yufafenxiqi
- 这是个简单的语法分析器程序,输入一个表达式,会给出一个分析过程.-This is a simple procedure syntax analyzer, the importation of an expression, is an analytical process.
SLR(1)
- 用SLR(1)方法实现的类C语言的编译器的语义分析程序。-with SLR (1) Realization of the Class C language compiler is the semantic analysis procedures.
jsq
- 。录入合法的LL(1)文法,将输出LL(1)预测分析表,并可以对输入的句子进行语法分析输出相应语法树。 程序中部分算法还很不简洁,有待改进,欢迎朋友与我多多交流。-. Entry legitimate LL (1) grammar, the output LL (1) prediction analysis table, and can enter the grammar of the sentence carried out
C_compiler
- 1. 构造一小型C语言SimpleC的编译器软件,达到综合理解和运用编译原理课程所讲解的关键过程(词法分析、语法分析、静态语义分析、代码生成)及相关算法的目的。 2. 通过本实验理解和掌握一般编译程序的程序组织方法和测试方法。 -1. Tectonic a small SimpleC the C language compiler software. achieve comprehensive understanding and
yufafenxichengxu
- 设计调试算符优先分析程序,加深对课堂教学的理解,深刻理解自底向上语法分析方法的归约过程,提高语法分析方法的实践能力。-Design analysis program debugging operator priority to deepen understanding of classroom teaching, a deep understanding of bottom-up grammar analysis of reductio
LL(1)yufafenxi
- *--- --- --声明--- --- -----*/ /* VC6.0下运行通过 此程序为本人苦心所做,请您在阅读的时候,尊重本人的 劳动。可以修改,但当做的每一处矫正或改进时,请将改进 方案,及修改部分发给本人 (修改部分请注名明:修改字样) Email: jink2005@sina.com QQ: 272576320 ——初稿完成:06-5-27 jink2005 补充
analyser
- 整个工作过程主要划分成词法分析阶段、语法分析阶段、中间代码生成和目标代码生成四个部分。 第一阶段是把输入的字符串形式的源程序分割成一个个单词符号。 第二阶段是识别由词法分析给出的单词符号序列在结构上是否符合给定的文法规则。 第三阶段中间代码的形式采用便于阅读的四元式。 第四阶段是把经过语法分析或优化后的中间代码作为输入,将其转换成特定机器的机器语言或汇编语言作为输出,这样的转换程序称为代码生成器。-The whol
del62755882442
- 词法分析器 词法语法分析程序,编译原理课用得到哦,可以作到词法分析表吧-Lexical analyzer lexical parser, the compiler used to be the principle lesson Oh, can you do lexical analysis table
bianyiqi
- 制作一个简易的编译器,能够对于给出的符合文法规则程序代码能进行词法分析、语法分析、语义分析并最终生成汇编代码。-The production of a simple compiler, to the grammar rules given in line with the program code can be lexical analysis, syntax analysis, semantic analysis and eventu
LR
- 课程设计(二---十进制的语法分析及语义分析程序设计)LR分析法-Curriculum design (b--- decimal syntax analysis and semantic analysis of program design) LR analysis
yufa
- 属于编译原理的程序设计,是关于语法分析的课程设计!-Belong to the compiler design principle of the procedure, on the grammatical analysis of the curriculum design!
zz
- IF-ELSE条件语句的语法分析及语义分析程序设计-IF-ELSE conditional statements syntax analysis and semantic analysis of program design
for-else
- 本课程设计是一个编译器的设计,包括词法分析部分、语法分析部分和中间代码生成部分。词法分析部分既词法分析器的设计,词法分析是编译的基础,执行词法分析的程序称为词法分析器,也就是说编译程序中完成词法分析任务段就是词法分析器。语法分析部分为语法分析器的设计,采用LR(1)分析方法进行语法分析,判断给出的符号串是否为该文法识别的句子。中间代码生成器部分主要实现逆波兰式的生成,将用中缀式表示的算术表达式转换为用逆波兰式表示的算术表达式,并计算用逆