arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1409.6624cs.SE
收藏

语篇语言抽象与具体概念的统一定义

Integrated Definition of Abstract and Concrete Syntax for Textual Languages

Holger Krahn, Bernhard Rumpe, Steven Völkel

摘要:

可理解的具体语法和可理解的抽象语法是定义建模语言的两个核心方面。一种语言的两种表征在其结构和信息上有很大的重叠,但也可能在信息的部分上有所不同。为了避免在处理语言时出现差异和问题,需要一致地定义具体和抽象语法。当领域特定语言在更大程度上被使用时,这将成为一个更大的问题。在本文中,我们提出了一个扩展的语法格式,避免冗余之间的具体和抽象的语法,允许一个集成的定义,都为文本建模语言。对于抽象语法的可用性的修正,它进一步集成了元建模概念,如关联和继承到一个很好理解的基于语法的方法。这为可扩展语法和语言定义奠定了坚实的基础。

英文摘要:

An understandable concrete syntax and a comprehensible abstract syntax are two central aspects of defining a modeling language. Both representations of a language significantly overlap in their structure and also information, but may also differ in parts of the information. To avoid discrepancies and problems while handling the language, concrete and abstract syntax need to be consistently defined. This will become an even bigger problem, when domain specific languages will become used to a larger extent. In this paper we present an extended grammar format that avoids redundancy between concrete and abstract syntax by allowing an integrated definition of both for textual modeling languages. For an amendment of the usability of the abstract syntax it furthermore integrates meta-modeling concepts like associations and inheritance into a well-understood grammar-based approach. This forms a sound foundation for an extensible grammar and therefore language definition.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑