首页 | 本学科首页   官方微博 | 高级检索  
     

上下文相关图文法分析及其应用初探
引用本文:冉平,石兵,马晓星,吕建.上下文相关图文法分析及其应用初探[J].计算机科学,2006,33(3):255-260.
作者姓名:冉平  石兵  马晓星  吕建
作者单位:南京大学计算机软件新技术国家重点实验室,南京大学计算机软件研究所,南京,210093
基金项目:中国科学院资助项目;国家科技攻关项目;科技部科研项目
摘    要:图文法是一种对可视化语言进行形式化定义的元语言,具有表达自然、能力强大的特点.随着使用可视化语言的最终用户编程技术的广泛应用,图文法分析尤其是上下文相关图文法分析在工程应用中的重要性日益突出.国内外相关文献或着重于纯理论探讨,或局限于特定语法类的特定应用,不利于工程应用人员参考.本文选取简洁明了的符号体系,介绍上下文相关图文法分析的一般性过程,并将其中规则选取关键步骤描述为CSP问题,利用已有的针对CSP问题的优化方法来优化算法,介绍了现有的优化方法并给出实现算法;同时,结合自身实践,讨论其在一个面向体系结构的Web服务集成系统中的应用.

关 键 词:图文法  上下文相关  分析算法  软件体系结构

Parsing Algorithm of Context-Sensitive Graph Grammar: Overview and Experience
RAN Ping,SHI Bing,MA Xiao-Xing,LU Jian.Parsing Algorithm of Context-Sensitive Graph Grammar: Overview and Experience[J].Computer Science,2006,33(3):255-260.
Authors:RAN Ping  SHI Bing  MA Xiao-Xing  LU Jian
Affiliation:National Key Laboratory for Novel Software Technology, Institute of Computer Software, Nanjing University, Nanjing 210093
Abstract:Graph grammars are natural and efficient in formally specifying visual programming languages, which are often the keys to the end user programming. Parsing based on graph grammars, especially more expressive context-sensitive grammars, is increasingly becoming important and prominent in the industrial applications. Existing references either focus only on theoretical aspects or limit to particular uses of some self-defined grammars. In this paper, we over view the general parsing process with concise notations, and abstract the step of selecting rules as a CSP problem in or der to use existing optimization methods for CSP to optimize the parsing algorithm. In addition, we present our experience on the development of an architecture-oriented Web services integration system in which a context-sensitive attributed graph grammar is used to describe and check software architectures.
Keywords:Graph grammar  Content-sensitive  Parsing algorithm  Software architecture
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号