属性文法中变元间的关系
The Relations Between Variables of an Attributed Grammer
-
摘要: 本文从模式的语义、句法描述着眼,分析了一个属性文法的产生式变元间的几种关系,把 这些关系作为语义部分的内容,从而推广了属性文法,以推广后的属性文法为基础,引入控制 连接图作为主要的限制条件,提出一种"语义程序文法",并把标准模式与畸变模式之间的联系 用限制条件描述.最后利用变元间的关系,把模式的描述与知识的表达联系起来.Abstract: From the point of view of syntactic-semantic description of patterns some relations between variables of an attributed grammar are analyzed. The attributed grammar Js expanded, so far as some relations are added into the semantic part of an attributed grammar. As a result of the expansion, a semantic programmed grammar is defined by introducing a control diagram of connection into a grammar as constrained conditions. And the relationships between a referential pattern and its distorted versions can be described by some constrained conditions. Finally, pattern description and knowledge representation are briefly discussed from the same view-point.
计量
- 文章访问数: 1552
- HTML全文浏览量: 89
- PDF下载量: 957
- 被引次数: 0