搜索资源列表
1213
- c语言编写的语法分析程序,是个过程体,可以作为学习的参考,很不错-c language syntax analysis procedure is the process body can be used as reference for the study, is pretty good
aiaiai
- 供学习参考用的编译原理的语法分析部分的程序,输入要编译的字符体,会对应输出代码-reference for the study of the principle of grammar compiler part of the analysis process, the importation of the characters to build body will conclude output code
ClassDesign2.2
- 不好意思,刚发的BianYiYuanLi为词法分析和语法分析,现在发的才是DO-WHILE循环语句的翻译程序设计(LL(1)法、输出三地址表示)
语法分析器源程序代码
- 这是一个语法分析器的源程序代码,能够进行预测分析的小程序-This is a parser of the source code analysis to predict the small program
LL1
- LL(1)预测分析程序代码,演示自上而下语法分析的过程.-compiler
Byylproject
- 设计题三:条件语句的语法分析及语义分析程序设计。 1.目的 通过设计、编制、调试一个语法及语义分析程序,加深对语法及语义分析原理的理解。 -Design of title III: conditional statements syntax analysis and semantic analysis of program design. 1. Purpose through the design, development, debugging a syntax and semant
dowhilecycle
- 对循环语句: DO〈赋值语句〉WHILE 〈表达式〉 (1) 按给定的题目写出符合简单优先分析方法要求的文法和属性文法描述。 (2) 按给定的题目给出简单优先分析方法的思想及分析表设计。 (3) 按给定的题目给出赋值表达式和控制语句中布尔表达式中间代码序列的结构设计。 (4) 完成相应的词法分析、语法分析和语义分析程序设计。 (5) 编制好分析程序后,设计若干用例,上机测试并通过所设计的分析程序。 -Of the loop: DO < assignment> W
ForTrans
- 编译课程设计的基本任务是设计一个mini-pascal语言的编译器,将mini-pascal 语言的源程序翻译成等价的中间代码。要求输入mini-pascal语言写的源程序(以文件形式存储),首先经过词法分析,输出原程序分析后的二元式文件,供语法制导翻译用。经过语法制导翻译将词法分析器产生的二元式翻译成等价的四元式形式,也就是中间代码的生成。要求能进行正常的关键字如:begin,end, if ,else 等的识别-Compile the basic task of curriculum des
flex-example-for-c--
- 一个用flex写了语法分析小程序,能够识别c--语法-Write a parser using flex a small program that can identify the c- Grammar