Expand ↗
Page list (1268)

Deterministic Context-Free Language

The class of languages recognised by deterministic pushdown automata — equivalently, those generated by LR(k) grammars. DCFL is the minimal class above regular that supports nested structure (parentheses, envelopes, scoped sub-grammars) while guaranteeing parser equivalence: every conformant implementation produces exactly one parse tree for every input. General context-free grammars admit ambiguity and therefore parser-differential attacks; DCFLs do not. DCFL is the LangSec-recommended target class for protocol input languages: validity is decidable in linear time, recognisers are total, and the class is rich enough for nested message envelopes. DCFLs are not closed under union in general — a property that has to be sidestepped (e.g. by prefix-free dispatch tags) when designing self-extending protocols like CBCL - Safe Self-Extending Agent Communication.

In this vault

Backlinks