Description: 这个是YACC和LEX结合使用来实现整数加法的简单事例,我体现的是基本的步骤,不在于其功能的完美和强大,给我一样的菜鸟以启示,以便您不必在开始的路上徘徊太久,希望您喜欢-the LEX and YACC is a combination of integers to achieve a simple example, I embody the basic steps, not its function in a perfect and strong, give me the same exposure to enlightenment, so that you need not start wandering on the road for too long, I hope you like Platform: |
Size: 14219 |
Author:江中月 |
Hits:
Description: 目的:通过编写简单的YACC程序熟悉YACC词法分析工具的基本用法,及词法分析器的设计思路。编写包括赋值语句、if语句以及含有加合乘运算的表达式等语法结构的pascal子集语言的语法分析器。 功能:程序由两个模块LEX和YACC构成,YACC使用LEX分析后的正规单词输出流-Objective : to prepare a simple procedure with YACC YACC lexical analysis of the basic tools to use, and the lexical analyzer designs. Preparation including assignment if statements containing Addition and multiplication of expressions such as grammatical structure of the pascal subset of the language syntax analyzer. Function : procedures by the two modules constitute LEX and YACC, YACC LEX analysis using the formal word output streams Platform: |
Size: 2026 |
Author:刘斌 |
Hits:
Description: 和YACC一样,但是提供对继承属性的语义计算-Same as YACC, but it provide the semantic calculation for inherited property Platform: |
Size: 1085440 |
Author:站长 |
Hits: