An Approach Towards Merging Grammars

Isaac Griffith, Rosetta Roberts
{"title":"An Approach Towards Merging Grammars","authors":"Isaac Griffith, Rosetta Roberts","doi":"10.1109/IETC47856.2020.9249135","DOIUrl":null,"url":null,"abstract":"Introduction: Since the introduction of Island Grammars, they have been successfully used for a variety of tasks, including impact analysis, multi-lingual parsing, and source code identification. However, there has been no attempt to automate the generation of Island Grammars. Objective: This research considers the development of a method to automate the merging of Island Grammar components. The goal of this is to facilitate the development of an approach to automate the creation of Island Grammars. The result of this is the reduction in initial effort and maintenance effort required for Island Grammar engineering. Methods: We develop an automated approach to merge the components of grammars. To evaluate this approach, we conducted two experiments, each using a factorial design of five replications each. We randomly selected pairs of grammars from each of three size categories to assess the effects of the merging process on the maintenance effort and complexity of the generated grammars. Results: We found that in nearly all cases, the application of this merging approach reduces the maintenance effort and complexity of the grammars. Limitations: The primary limitation of this research is that this approach is currently limited to grammars written in the Antlr4 grammar format. Conclusions: This work presents the initial steps towards the automated construction of Island and Tolerant Grammars. We have shown that this approach to merging grammar components follows suit with the expectations of Island and Tolerant grammars (reduction in maintenance effort and complexity).","PeriodicalId":186446,"journal":{"name":"2020 Intermountain Engineering, Technology and Computing (IETC)","volume":"79 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-10-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 Intermountain Engineering, Technology and Computing (IETC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/IETC47856.2020.9249135","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Introduction: Since the introduction of Island Grammars, they have been successfully used for a variety of tasks, including impact analysis, multi-lingual parsing, and source code identification. However, there has been no attempt to automate the generation of Island Grammars. Objective: This research considers the development of a method to automate the merging of Island Grammar components. The goal of this is to facilitate the development of an approach to automate the creation of Island Grammars. The result of this is the reduction in initial effort and maintenance effort required for Island Grammar engineering. Methods: We develop an automated approach to merge the components of grammars. To evaluate this approach, we conducted two experiments, each using a factorial design of five replications each. We randomly selected pairs of grammars from each of three size categories to assess the effects of the merging process on the maintenance effort and complexity of the generated grammars. Results: We found that in nearly all cases, the application of this merging approach reduces the maintenance effort and complexity of the grammars. Limitations: The primary limitation of this research is that this approach is currently limited to grammars written in the Antlr4 grammar format. Conclusions: This work presents the initial steps towards the automated construction of Island and Tolerant Grammars. We have shown that this approach to merging grammar components follows suit with the expectations of Island and Tolerant grammars (reduction in maintenance effort and complexity).
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
一种合并语法的方法
简介:自从引入Island Grammars以来,它们已经成功地用于各种任务,包括影响分析、多语言解析和源代码识别。然而,还没有尝试自动化生成Island Grammars。目的:研究一种海岛语法成分自动归并的方法。这样做的目的是促进自动化创建Island Grammars的方法的开发。这样做的结果是减少了Island Grammar工程所需的初始工作和维护工作。方法:我们开发了一种自动化的方法来合并语法组件。为了评估这种方法,我们进行了两个实验,每个实验使用五个重复的析因设计。我们从三个大小的类别中随机选择语法对,以评估合并过程对维护工作和生成语法复杂性的影响。结果:我们发现,在几乎所有情况下,这种合并方法的应用减少了维护工作和语法的复杂性。局限性:本研究的主要局限性是,该方法目前仅限于用Antlr4语法格式编写的语法。结论:本研究为自动化构建孤岛语法和容错语法迈出了初步的步伐。我们已经证明,这种合并语法组件的方法符合Island和tolerance语法的期望(减少维护工作量和复杂性)。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Virtual Reality Training in Electric Utility Sector - An Underground Application Study Case Different assignments as different contexts: predictors across assignments and outcome measures in CS1 2020 Intermountain Engineering, Technology and Computing (IETC) Micromachining of Silicon Carbide using Wire Electrical Discharge Machining Stereophonic Frequency Modulation using MATLAB: An Undergraduate Research Project
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1