用ANTLR实现AADL行为附件的编译器

Huilong Jiang, Xiao Wu, Yunwei Dong, Fan Zhang
{"title":"用ANTLR实现AADL行为附件的编译器","authors":"Huilong Jiang, Xiao Wu, Yunwei Dong, Fan Zhang","doi":"10.1109/ICSESS.2011.5982287","DOIUrl":null,"url":null,"abstract":"Behavior Annex is the extension of AADL which enhances AADL's detailed description of system's behavior. It provides better support for modeling and analyzing system's non-functional properties, such as reliability and security. The analysis for the properties of AADL model is based on the model compilation. Hence, in order to facilitate the extraction of the AADL's behavior model during the model analysis, we design the compiler of behavior annex to transform behavior model into structured XML documents based on the characteristic of AADL components. This article uses the compiler generating tool ANTLR to implement the lexical and syntactic parser of behavior annex and designs the meta-model classes of behavior annex using EMF. We call the meta-model classes during the syntactic analysis to generate the class objects and complete the parser of AADL behavior model. Finally, the compiler uses the EMF's internal XMI specification to transform the model class objects into XML documents.","PeriodicalId":108533,"journal":{"name":"2011 IEEE 2nd International Conference on Software Engineering and Service Science","volume":"52 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2011-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Implementing the compiler of AADL behavior annex using ANTLR\",\"authors\":\"Huilong Jiang, Xiao Wu, Yunwei Dong, Fan Zhang\",\"doi\":\"10.1109/ICSESS.2011.5982287\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Behavior Annex is the extension of AADL which enhances AADL's detailed description of system's behavior. It provides better support for modeling and analyzing system's non-functional properties, such as reliability and security. The analysis for the properties of AADL model is based on the model compilation. Hence, in order to facilitate the extraction of the AADL's behavior model during the model analysis, we design the compiler of behavior annex to transform behavior model into structured XML documents based on the characteristic of AADL components. This article uses the compiler generating tool ANTLR to implement the lexical and syntactic parser of behavior annex and designs the meta-model classes of behavior annex using EMF. We call the meta-model classes during the syntactic analysis to generate the class objects and complete the parser of AADL behavior model. Finally, the compiler uses the EMF's internal XMI specification to transform the model class objects into XML documents.\",\"PeriodicalId\":108533,\"journal\":{\"name\":\"2011 IEEE 2nd International Conference on Software Engineering and Service Science\",\"volume\":\"52 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2011-07-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2011 IEEE 2nd International Conference on Software Engineering and Service Science\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICSESS.2011.5982287\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2011 IEEE 2nd International Conference on Software Engineering and Service Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICSESS.2011.5982287","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

行为附件是AADL的扩展,增强了AADL对系统行为的详细描述。它为系统的非功能属性(如可靠性和安全性)的建模和分析提供了更好的支持。AADL模型的特性分析是在模型编译的基础上进行的。因此,为了便于在模型分析时提取AADL的行为模型,我们设计了行为附件编译器,根据AADL组件的特点,将行为模型转换为结构化的XML文档。本文使用编译生成工具ANTLR实现了行为附件的词法语法解析器,并使用EMF设计了行为附件的元模型类。在语法分析过程中调用元模型类来生成类对象,完成对AADL行为模型的解析。最后,编译器使用EMF的内部XML规范将模型类对象转换为XML文档。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Implementing the compiler of AADL behavior annex using ANTLR
Behavior Annex is the extension of AADL which enhances AADL's detailed description of system's behavior. It provides better support for modeling and analyzing system's non-functional properties, such as reliability and security. The analysis for the properties of AADL model is based on the model compilation. Hence, in order to facilitate the extraction of the AADL's behavior model during the model analysis, we design the compiler of behavior annex to transform behavior model into structured XML documents based on the characteristic of AADL components. This article uses the compiler generating tool ANTLR to implement the lexical and syntactic parser of behavior annex and designs the meta-model classes of behavior annex using EMF. We call the meta-model classes during the syntactic analysis to generate the class objects and complete the parser of AADL behavior model. Finally, the compiler uses the EMF's internal XMI specification to transform the model class objects into XML documents.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信