One-Page Reference Tables
TOC Closure Properties, Decidability & Compiler LR Parsers Cheat-Sheet
Formal Languages Closure & Decidability Reference
| Property / Operation | Regular | DCFL | CFL | CSL | Recursive (REC) | Rec. Enum. (RE) |
|---|---|---|---|---|---|---|
| Union | β | β | β | β | β | β |
| Intersection | β | β | β | β | β | β |
| Complement | β | β | β | β | β | β |
| Concatenation / Kleene Star | β | β | β | β | β | β |
| Intersection with Regular | β | β | β | β | β | β |
| Emptiness () | Decidable | Decidable | Decidable | Undecidable | Undecidable | Undecidable |
| Equivalence () | Decidable | Decidable | Undecidable | Undecidable | Undecidable | Undecidable |
Compiler Parsing Hierarchy
- Number of States:
- Ambiguous Grammar: Never , never !