Table of Contents
Fetching ...

A Uniform Framework for Problems on Context-Free Grammars

Javier Esparza, Peter Rossmanith, Stefan Schwoon

TL;DR

A new algorithm is presented which not only has a better space complexity but is also (in this opinion) easier to read and understand and is competitive to well-known solutions for most (but not all) standard problems.

Abstract

In a paper published in Information Processing Letters in 2000, Bouajjani et al. presented an automata-based approach to a number of elementary problems on context-free grammars. This approach is of pedagogical interest since it provides a uniform solution to decision procedures usually solved by independent algorithms in textbooks. This paper improves upon the work by Bouajjani et al. in a number of ways. We present a new algorithm which not only has a better space complexity but is also (in our opinion) easier to read and understand. Moreover, a closer inspection reveals that the new algorithm is competitive to well-known solutions for most (but not all) standard problems.

A Uniform Framework for Problems on Context-Free Grammars

TL;DR

A new algorithm is presented which not only has a better space complexity but is also (in this opinion) easier to read and understand and is competitive to well-known solutions for most (but not all) standard problems.

Abstract

In a paper published in Information Processing Letters in 2000, Bouajjani et al. presented an automata-based approach to a number of elementary problems on context-free grammars. This approach is of pedagogical interest since it provides a uniform solution to decision procedures usually solved by independent algorithms in textbooks. This paper improves upon the work by Bouajjani et al. in a number of ways. We present a new algorithm which not only has a better space complexity but is also (in our opinion) easier to read and understand. Moreover, a closer inspection reveals that the new algorithm is competitive to well-known solutions for most (but not all) standard problems.

Paper Structure

This paper contains 17 sections, 2 theorems, 1 figure.

Key Result

lemma thmcounterlemma

$L(A_{{\it pre}^*})\subseteq{{\it pre}^*}(L(A))$

Figures (1)

  • Figure 1: Example automaton before (left) and after the algorithm (right).

Theorems & Definitions (4)

  • lemma thmcounterlemma
  • proof
  • lemma thmcounterlemma
  • proof