Skip to main content
Top

2021 | OriginalPaper | Chapter

Reversible Top-Down Syntax Analysis

Authors : Martin Kutrib, Uwe Meyer

Published in: Developments in Language Theory

Publisher: Springer International Publishing

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

Top-down syntax analysis can be based on \(\mathrm {LL}(k)\) grammars. The canonical acceptors for \(\mathrm {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.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Literature
3.
go back to reference Harrison, M.A.: Introduction to Formal Language Theory. Addison-Wesley, Reading (1978) Harrison, M.A.: Introduction to Formal Language Theory. Addison-Wesley, Reading (1978)
4.
go back to reference Holzer, M., Jakobi, S., Kutrib, M.: Minimal reversible deterministic finite automata. Int. J. Found. Comput. Sci. 29, 251–270 (2018)MathSciNetCrossRef Holzer, M., Jakobi, S., Kutrib, M.: Minimal reversible deterministic finite automata. Int. J. Found. Comput. Sci. 29, 251–270 (2018)MathSciNetCrossRef
6.
7.
go back to reference Kutrib, M.: Aspects of reversibility for classical automata. In: Calude, C.S., Freivalds, G.R., Iwama, K. (eds.) Computing with New Resources. LNCS, vol. 8808, pp. 83–98. Springer (2014) Kutrib, M.: Aspects of reversibility for classical automata. In: Calude, C.S., Freivalds, G.R., Iwama, K. (eds.) Computing with New Resources. LNCS, vol. 8808, pp. 83–98. Springer (2014)
9.
go back to reference Kutrib, M., Malcher, A.: Fast reversible language recognition using cellular automata. Inform. Comput. 206, 1142–1151 (2008)MathSciNetCrossRef Kutrib, M., Malcher, A.: Fast reversible language recognition using cellular automata. Inform. Comput. 206, 1142–1151 (2008)MathSciNetCrossRef
10.
14.
15.
go back to reference Lewis II, P.M., Stearns, R.E.: Syntax-directed transduction. J. ACM 15, 465–488 (1968)CrossRef Lewis II, P.M., Stearns, R.E.: Syntax-directed transduction. J. ACM 15, 465–488 (1968)CrossRef
16.
go back to reference Morita, K.: Reversible simulation of one-dimensional irreversible cellular automata. Theor. Comput. Sci. 148, 157–163 (1995)MathSciNetCrossRef Morita, K.: Reversible simulation of one-dimensional irreversible cellular automata. Theor. Comput. Sci. 148, 157–163 (1995)MathSciNetCrossRef
17.
18.
go back to reference Rosenkrantz, D.J., Stearns, R.E.: Properties of deterministic top-down grammars. Inform. Control 17, 226–256 (1970)MathSciNetCrossRef Rosenkrantz, D.J., Stearns, R.E.: Properties of deterministic top-down grammars. Inform. Control 17, 226–256 (1970)MathSciNetCrossRef
Metadata
Title
Reversible Top-Down Syntax Analysis
Authors
Martin Kutrib
Uwe Meyer
Copyright Year
2021
DOI
https://doi.org/10.1007/978-3-030-81508-0_21

Premium Partner