搜索资源列表
词法语法分析器
- 一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-a super classic morphology and syntax analysis program (Additional source code). Lexical analysis from the output transition to the syntax analysis
词法语法分析器
- 学习编译原理时做的词法和语法分析程序.词法和语法分析封装在一个类CFenXi中, 程序在Visual C++6.0下调试通过. 程序采用单文档设计,利用了分割窗体技术-compiler theory when learning to do morphology and syntax analysis procedures. Morphology and syntax analysis package in a category CFenXi, the process in Visual C 6.
编译原理实验
- 实现编译器的代码
编译原理 精品课堂 可执行程序
- 编译原理词法分析语法分析语义分析目标代码生成 教学软件
编译词法语法语义分析
- 孙悦红编译词法语法语义分析主要程序代码
用VC++编制的一个递归下降分析程序
- 用VC++编制的一个递归下降分析程序,实现对词法分析程序所提供的单词序列的语法检查和结构分析。,With VC++ Prepared a recursive descent parser to achieve lexical analysis procedure provided by the word sequence and structure analysis of grammar checker.
语法分析器
- 词法分析器- Morphology analyzer
calculator
- 计算器设计(运用词法分析&语法分析方法):1、为每种可能识别出来的合法单词创建一个类,类的属性包括该单词的各别码及值。 2、构建异常类,以实现计算器的容错性能。 3、构建一个词法分析类,用之提取单词。 4、构建表达式中各单词间的优先关系表。 5、构建一个语法分析类,对表达式进行规约。此类调用词法类获取单词,查询优先关系表进行规约操作。 6、构建一个计算类,调用语法分析类以实现计算。 7、构建一个GUI类,设计好操作界面,并内置计算类,以实现界面操作计算功能。 -Cal
22302304232
- 对条件语句: if 〈布尔表达式〉〈赋值语句〉 else 〈赋值语句〉, 进行词法,语法分析,并根据语法制导翻译方法将条件语句翻译成四元式中间代码形式,最后输出翻译后的四元式代码。-Of conditional statements: if <Boolean expression> <assignment statement> else <assignment statement> for lexical, syntax analysis, and in a
Cpp
- C Preprocessor,antlr的grammar语言描述,用于学习词法分析,语法分析-C Preprocessor, antlr language to describe the grammar for learning lexical analysis, syntax analysis
ObjectiveC2ansi
- Object C,antlr的grammar语言描述,用于学习词法分析,语法分析-Object C, antlr language to describe the grammar for learning lexical analysis, syntax analysis
Python
- python 2.5,antlr的grammar语言描述,用于学习词法分析,语法分析-python 2.5, antlr language to describe the grammar for learning lexical analysis, syntax analysis
CPP_parser_v_3.2
- C Preprocessor,antlr的grammar语言描述,用于学习词法分析,语法分析-C Preprocessor, antlr language to describe the grammar for learning lexical analysis, syntax analysis
yuyi
- 一个简单的语法分析器,赋值语句 词法分析 语法分析 语义分析 等号右侧可以是算数表达式 可以含数字和字符 变量以字母打头 -A simple parser, lexical analysis assignment parsing semantic analysis to equate the right side of expression can be arithmetic with numbers and characters can be variable with the
Defines
- 定义切入点的控制台应用程序。编译原理词法分析语法分析器-LR1.cpp : Defines the entry point for the console application.
compiler
- 一个很好的编译器,集词法分析语法分析!不错,大家下来参考啊!-the compiler is very good! xi wang dajia zhichi!
PA
- 完整的Cminus词法和语法分析源代码,编译原理课程设计源代码,采用递归下降分析法-Cminus complete analysis of morphology and syntax source code, compile the source code principles of curriculum design, using recursive descent analysis
ifelse
- 此程序是对条件语句进行翻译,输入一个条件语句,例如:if B then C1 else C2,先进行词法分析,词法分析的主要任务是:从左到右逐个字符地对源程序进行扫描,产生一个个的单词符号,把作为字符串的源程序改造成为单词符号串的中间程序,词法分析是编译的基础,词法分析的功能是输入源程序,输出单词符号(关键字,标识符,常数,运算符,界符),词法分析完成之后,再进行LL(1)语法分析,语义分析,最后输出四元式(语法分析,属性文法,四元式的相关知识技术描述如下)-This procedure is
while
- 否符合while语句的文法,或者能不能通过文法的开始符号推导出该语句。 (2) 该程序应该包括词法分析器,能对输入的语句进行词法分析,然后再对输出结果。词法分析器应能识别关键字,标示符,常量,操作符等。 (3) 该程序的语法分析器能对输入的语法进行分析,判断输入语句能否满足while循环语句的文法。通过简单优先的方法对语句进行分析,看能否能归约到文法的开始符号。 (4) 该程序的语义分析器就是对分析结果进行输出,要求输出结果是三地址形式的。-Compliance with the s
WebSite1
- 一个超级经典的词法和语法分析程序(附加源代码).从词法分析的输出过渡到语法分析-A super-classic lexical and syntax analysis program (source code attached). The output from the lexical analysis of the transition to a grammatical analysis