A GLR-like Parsing Algorithm for Three-Valued Interpretations of Boolean Grammars with Strong Negation

Patrik AdriánUniversity of Debrecen, Faculty of Informatics, György VaszilUniversity of Debrecen, Faculty of Informatics
{"title":"A GLR-like Parsing Algorithm for Three-Valued Interpretations of Boolean Grammars with Strong Negation","authors":"Patrik AdriánUniversity of Debrecen, Faculty of Informatics, György VaszilUniversity of Debrecen, Faculty of Informatics","doi":"arxiv-2409.06966","DOIUrl":null,"url":null,"abstract":"Boolean grammars generalize context-free rewriting by extending the\npossibilities when dealing with different rules for the same nonterminal\nsymbol. By allowing not only disjunction (as in the case of usual context-free\ngrammars), but also conjunction and negation as possible connections between\ndifferent rules with the same left-hand side, they are able to simplify the\ndescription of context-free languages and characterize languages that are not\ncontext-free. The use of negation, however, leads to the possibility of\nintroducing rules that interplay in such a way which is problematic to handle\nin the classical, two-valued logical setting. Here we define a three valued\ninterpretation to deal with such contradictory grammars using a method\nintroduced originally in the context of logic programming, and present an\nalgorithm to determine the membership status of strings with respect to the\nresulting three valued languages.","PeriodicalId":501208,"journal":{"name":"arXiv - CS - Logic in Computer Science","volume":"11 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-11","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Logic in Computer Science","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.06966","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Boolean grammars generalize context-free rewriting by extending the possibilities when dealing with different rules for the same nonterminal symbol. By allowing not only disjunction (as in the case of usual context-free grammars), but also conjunction and negation as possible connections between different rules with the same left-hand side, they are able to simplify the description of context-free languages and characterize languages that are not context-free. The use of negation, however, leads to the possibility of introducing rules that interplay in such a way which is problematic to handle in the classical, two-valued logical setting. Here we define a three valued interpretation to deal with such contradictory grammars using a method introduced originally in the context of logic programming, and present an algorithm to determine the membership status of strings with respect to the resulting three valued languages.
强否定布尔语法三值解释的类 GLR 解析算法
布尔语法通过扩展处理同一非终端符号的不同规则的可能性,对无上下文重写进行了概括。布尔语法不仅允许析取(就像通常的无上下文语法一样),还允许连接和否定作为同一左手边的不同规则之间的可能连接,从而简化了无上下文语言的描述,并描述了非无上下文语言的特征。然而,否定的使用会导致引入以这种方式相互作用的规则的可能性,这在经典的二值逻辑环境中是难以处理的。在这里,我们使用一种最初在逻辑编程中引入的方法,定义了一种三值解释来处理这种矛盾的语法,并提出了一种分析方法来确定字符串在三值语言中的成员地位。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信