Context-Free Grammars with Lookahead
Context-Free Grammars with Lookahead
复制标题
具有前瞻功能的上下文无关语法
DOI:
10.1007/978-3-030-68195-1_16
复制
发表时间:
2021
期刊:
影响因子:
--
通讯作者:
Takayuki Miyazaki and Yasuhiko Minamide
中科院分区:
文献类型:
--
作者:
高橋和也;南出靖彦;Takayuki Miyazaki and Yasuhiko Minamide
We introduce context-free grammars with lookahead. The grammars are an extension of both context-free grammars and parsing expression grammars, hence we can handle the two grammars in a unified way. To accommodate lookahead, we use a language with lookahead, which is a set of string pairs. We considered the grammar as a system of equations and give the language with lookahead by the limit of iterations from the empty set. The language class is closed under union, intersection, complement, and a weak version of concatenation and Kleene star.