Lukas' Notes

Greibach Normal Form

May 01, 20261 min read

languages

Definition

Greibach Normal Form

A context-free grammar is in Greibach normal form if every production rule has the form

A→aw

where a∈T is a terminal symbol, A∈N is a non-terminal symbol, and w∈N∗ is a (possibly empty) string of non-terminal symbols.

For every context-free grammar G, one can construct an equivalent grammar in Greibach normal form.


Graph View

Backlinks

  • 192.017 Theoretical Computer Science

Created with Quartz v4.4.0 © 2026

  • GitHub