Patrik AdriánUniversity of Debrecen, Faculty of Informatics, György VaszilUniversity of Debrecen, Faculty of Informatics
{"title":"强否定布尔语法三值解释的类 GLR 解析算法","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":"{\"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}","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}
A GLR-like Parsing Algorithm for Three-Valued Interpretations of Boolean Grammars with Strong Negation
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.