Reversible Top-Down Syntax Analysis

被引:1
|
作者
Kutrib, Martin [1 ]
Meyer, Uwe [2 ]
机构
[1] Univ Giessen, Inst Informat, Arndtstr 2, D-35392 Giessen, Germany
[2] TH Mittelhessen, Wiesenstr 14, D-35390 Giessen, Germany
来源
关键词
D O I
10.1007/978-3-030-81508-0_21
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Top-down syntax analysis can be based on LL(k) grammars. The canonical acceptors for LL(k) languages are deterministic stateless pushdown automata with input lookahead of size k. We investigate the computational capacity of reversible computations of such automata. A pushdown automaton with lookahead k is said to be reversible if its predecessor configurations can uniquely be computed by a pushdown automaton with backward input lookahead (lookback) of size k. It is shown that we cannot trade a lookahead for states or vice versa. The impact of having states or a lookahead depends on the language. While reversible pushdown automata with states accept all regular languages, we are going to prove that there are regular languages that cannot be accepted reversibly without states, even in case of an arbitrarily large lookahead. This completes the comparison of reversible with ordinary pushdown automata in our setting. Finally, it turns out that there are problems which can be solved by reversible deterministic stateless pushdown automata with lookahead of size k + 1, but not by any reversible deterministic stateless pushdown automaton with lookahead of size k. So, an infinite and tight hierarchy of language families dependent on the size of the lookahead is shown.
引用
收藏
页码:255 / 266
页数:12
相关论文
共 50 条
  • [1] Reversible Top-Down Syntax Analysis
    Kutrib, Martin
    Meyer, Uwe
    [J]. INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2023, 34 (02N03) : 225 - 251
  • [2] NON-RECURSIVE TOP-DOWN SYNTAX ANALYSIS
    SETZER, VW
    [J]. SOFTWARE-PRACTICE & EXPERIENCE, 1979, 9 (03): : 237 - 245
  • [3] A UNIVERSAL SYNTAX-DIRECTED TOP-DOWN ANALYZER
    CHARTRES, BA
    FLORENTI.JJ
    [J]. JOURNAL OF THE ACM, 1968, 15 (03) : 447 - &
  • [4] AUTOMATED COMPILER CONSTRUCTION BASED ON TOP-DOWN SYNTAX ANALYSIS AND ATTRIBUTE EVALUATION
    ELSWORTH, EF
    PARKES, MAB
    [J]. SIGPLAN NOTICES, 1990, 25 (08): : 37 - 42
  • [5] TOP-DOWN SEMANTIC ANALYSIS
    ADORNI, G
    BOCCALATTE, A
    DIMANZO, M
    [J]. COMPUTER JOURNAL, 1984, 27 (03): : 233 - 237
  • [6] A top-down analysis for reconstruction
    Guilliot, Nicolas
    [J]. LINGUA, 2006, 116 (11) : 1888 - 1914
  • [7] Top-down Causation Without Top-down Causes
    Carl F. Craver
    William Bechtel
    [J]. Biology & Philosophy, 2007, 22 : 547 - 563
  • [8] Top-down causation without top-down causes
    Craver, Carl F.
    Bechtel, William
    [J]. BIOLOGY & PHILOSOPHY, 2007, 22 (04) : 547 - 563
  • [9] TOP-DOWN DATA ANALYSIS WITH TREEMAPS
    Tennekes, Martijn
    de Jonge, Edwin
    [J]. IMAGAPP & IVAPP 2011: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON IMAGING THEORY AND APPLICATIONS AND INTERNATIONAL CONFERENCE ON INFORMATION VISUALIZATION THEORY AND APPLICATIONS, 2011, : 236 - 241
  • [10] Top-down analysis of path compression
    Seidel, R
    Sharir, M
    [J]. SIAM JOURNAL ON COMPUTING, 2005, 34 (03) : 515 - 525