Top "Context-free-grammar" questions

In formal language theory, a context-free grammar (CFG) is a grammar subject to a special constraint: that the left-hand side (LHS) consist of a single non-terminal symbol.

converting context free grammar into regular expression

I am currently going over CFG and saw the answer and I am not sure how they got it. How …

regex context-free-grammar
How to construct a CFG based on a given regular expression

I am trying to figure out how to construct a CFG (context free grammar) based on a given regular expression. …

regex algorithm context-free-grammar
Computing leading and trailing sets for context-free grammar

I am seeking for a detailed algorithm describing how to generate leading and trailing sets for non-terminal symbols in context-free …

context-free-grammar formal-languages
What is the language of this deterministic finite automata?

Given: I have no idea what the accepted language is. From looking at it you can get several end results: 1.) …

grammar context-free-grammar finite-automata deterministic
What are terminal and nonterminal symbols?

I am reading Rebol Wikipedia page. "Parse expressions are written in the parse dialect, which, like the do dialect, is …

grammar context-free-grammar rebol red
What are Context-Free Grammars and Backus Naur Form?

Can someone please explain in layman's terms: what a context-free grammar is? what Backus Naur Form is? How to use …

syntax context-free-grammar bnf
How can I prove that derivations in Chomsky Normal Form require 2n - 1 steps?

I'm trying to prove the following: If G is a Context Free Grammar in the Chomsky Normal Form, then for …

grammar theory context-free-grammar chomsky-normal-form
Difference between Context-sensitive grammar and Context-free grammar

Possible Duplicate: Context-sensitive grammar and Context-free grammar In my textbook, here is the explain of these two terms : Context Sensitive …

algorithm context-free-grammar context-sensitive-grammar
What language does this Pushdown Automata (PDA) accept?

Exam tomorrow and the prof let us know a question that would be on it :). In the context of this …

context-free-grammar finite-automata pushdown-automaton