Deterministic context-free grammar