Automatic parser generation for pictorial languages

G. Costagliola, Sergio Orefice, G. Polese, G. Tortora, M. Tucci
{"title":"Automatic parser generation for pictorial languages","authors":"G. Costagliola, Sergio Orefice, G. Polese, G. Tortora, M. Tucci","doi":"10.1109/VL.1993.269616","DOIUrl":null,"url":null,"abstract":"While in a string grammar the only possible spatial relation is the string concatenation, in a positional grammar other spatial relations can be defined and then used for describing high dimensional languages. We characterize a new class of positional grammars, the extended pLALR grammars, which can be translated into traditional LALR context free grammars with positional actions. A positional action is a procedure implementing a spatial relation. In this way, the parser for an extended pLALR language can be generated automatically by the tool Yacc with no more effort. Moreover, we show that the class of extended pLALR grammars properly contains the class of pSLR grammars for which a Yacc implementation has already been given.<<ETX>>","PeriodicalId":392115,"journal":{"name":"Proceedings 1993 IEEE Symposium on Visual Languages","volume":"332 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1993-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"17","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings 1993 IEEE Symposium on Visual Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/VL.1993.269616","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 17

Abstract

While in a string grammar the only possible spatial relation is the string concatenation, in a positional grammar other spatial relations can be defined and then used for describing high dimensional languages. We characterize a new class of positional grammars, the extended pLALR grammars, which can be translated into traditional LALR context free grammars with positional actions. A positional action is a procedure implementing a spatial relation. In this way, the parser for an extended pLALR language can be generated automatically by the tool Yacc with no more effort. Moreover, we show that the class of extended pLALR grammars properly contains the class of pSLR grammars for which a Yacc implementation has already been given.<>
图形语言的自动解析器生成
在字符串语法中,唯一可能的空间关系是字符串连接,而在位置语法中,可以定义其他空间关系,然后用于描述高维语言。我们描述了一类新的位置语法,扩展pLALR语法,它可以转换成传统的LALR上下文无关的具有位置动作的语法。位置动作是实现空间关系的过程。通过这种方式,扩展pLALR语言的解析器可以由Yacc工具自动生成,而无需更多的工作。此外,我们还证明了扩展pLALR语法类正确地包含了已经给出了Yacc实现的pSLR语法类。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信
小红书