Rigorous EBNF-based definition for a graphic modeling language

Yong Xia, M. Glinz
{"title":"Rigorous EBNF-based definition for a graphic modeling language","authors":"Yong Xia, M. Glinz","doi":"10.1109/APSEC.2003.1254371","DOIUrl":null,"url":null,"abstract":"Today, the syntax of visual specification languages such as UML is typically defined using meta-modelling techniques. However, this kind of syntax definition has drawbacks. In particular, graphic meta-models are not powerful enough, so they must be augmented by a textual constraint language. As an alternative, we present a text-based technique for the syntax definition of a graphic specification language. We exploit the fact that in a graphic specification language, most syntactic features are independent of the layout of the graph. So we map the graphic elements to textual ones and define the context-free syntax of this textual language in EBNF. Using our mapping, this grammar also defines the syntax of the graphic language. Simple spatial and context-sensitive constraints are then added by attributing the context-free grammar. Finally, for handling complex structural and dynamic information in the syntax, we give a set of operational rules that work on the attributed EBNF. We explain our syntax definition technique by applying it to the modelling language ADORA, which is being developed in our research group. We also briefly discuss the application of our technique to the syntax definition of UML. We mention the advantages of our method over the metamodeling techniques.","PeriodicalId":122752,"journal":{"name":"Tenth Asia-Pacific Software Engineering Conference, 2003.","volume":"65 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2003-12-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"15","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Tenth Asia-Pacific Software Engineering Conference, 2003.","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/APSEC.2003.1254371","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 15

Abstract

Today, the syntax of visual specification languages such as UML is typically defined using meta-modelling techniques. However, this kind of syntax definition has drawbacks. In particular, graphic meta-models are not powerful enough, so they must be augmented by a textual constraint language. As an alternative, we present a text-based technique for the syntax definition of a graphic specification language. We exploit the fact that in a graphic specification language, most syntactic features are independent of the layout of the graph. So we map the graphic elements to textual ones and define the context-free syntax of this textual language in EBNF. Using our mapping, this grammar also defines the syntax of the graphic language. Simple spatial and context-sensitive constraints are then added by attributing the context-free grammar. Finally, for handling complex structural and dynamic information in the syntax, we give a set of operational rules that work on the attributed EBNF. We explain our syntax definition technique by applying it to the modelling language ADORA, which is being developed in our research group. We also briefly discuss the application of our technique to the syntax definition of UML. We mention the advantages of our method over the metamodeling techniques.
严格的基于ebnf的图形建模语言定义
今天,可视化规范语言(如UML)的语法通常是使用元建模技术定义的。然而,这种语法定义有缺点。特别是,图形元模型不够强大,因此必须通过文本约束语言来增强它们。作为替代方案,我们提出了一种基于文本的技术,用于图形规范语言的语法定义。我们利用了这样一个事实:在图形规范语言中,大多数语法特征与图形的布局无关。因此,我们将图形元素映射到文本元素,并在EBNF中定义这种文本语言的上下文无关语法。使用我们的映射,该语法还定义了图形语言的语法。然后通过赋予与上下文无关的语法属性来添加简单的空间和上下文敏感的约束。最后,为了处理语法中的复杂结构信息和动态信息,我们给出了一组用于属性EBNF的操作规则。我们通过将语法定义技术应用于我们研究小组正在开发的建模语言ADORA来解释语法定义技术。我们还简要地讨论了我们的技术在UML语法定义中的应用。我们提到了我们的方法相对于元建模技术的优点。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信