Skip to main content
AI Assist is now on Stack Overflow. Start a chat to get instant answers from across the network. Sign up to save and share your chats.
Corrected [chomsky] tag to [chomsky-hierarchy]
Source Link
Houari
  • 5.7k
  • 3
  • 33
  • 57

I'm looking for a context-sensitive grammar that describes the following language:
 

L = { ww | w ∈ {a,b}*, |w| ≥ 1} <br> 

I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

I'm looking for a context-sensitive grammar that describes the following language:
 

L = { ww | w ∈ {a,b}*, |w| ≥ 1} <br> 

I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

I'm looking for a context-sensitive grammar that describes the following language:

L = { ww | w ∈ {a,b}*, |w| ≥ 1} <br> 

I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

I'm looking for a context-sensitive grammar that describes the following language:
L = { ww | w ∈ {a,b}*, |w| ≥ 1}
I've

L = { ww | w ∈ {a,b}*, |w| ≥ 1} <br> 

I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

Thanks, Tobi.

I'm looking for a context-sensitive grammar that describes the following language:
L = { ww | w ∈ {a,b}*, |w| ≥ 1}
I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

Thanks, Tobi.

I'm looking for a context-sensitive grammar that describes the following language:

L = { ww | w ∈ {a,b}*, |w| ≥ 1} <br> 

I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

Source Link

Context-sensitive grammar

I'm looking for a context-sensitive grammar that describes the following language:
L = { ww | w ∈ {a,b}*, |w| ≥ 1}
I've got problems with the fact that no rules such as X -> ε are allowed and therefore I can't place any nonterminal indicating the "middle" of the word. Is there any trick to the problem?
If you happen to know the answer, please help.

Thanks, Tobi.