全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Derivation, generated language?

又称: derivation (grammar) · generated language · context-free language

Definition 23.2 University Computer Science — Year 2 · 第 23 章 — Context-Free Grammars and Pushdown Automata

A word over N∪ΣN \cup \Sigma is a sentential form. If A→αA \to \alpha is a production, βAγ⇒βαγ\beta A \gamma \Rightarrow \beta \alpha \gamma is an immediate derivation; a derivation α⇒∗β\alpha \Rightarrow^* \beta is a sequence of zero or more of them. The language generated by GG is L(G)={w∈Σ∗:S⇒∗w}L(G) = \{w \in \Sigma^* : S \Rightarrow^* w\}. A language is context-free if some context-free grammar generates it.

在原文中阅读 →