Context-Free Grammar for Non-Palindromes
Автор: Easy Theory
Загружено: 2021-06-18
Просмотров: 8083
Описание:
Here we create a CFG for all strings that are NOT palindromes over {a, b}.
What is a context-free grammar? It is a set of 4 items: a set of "variables," a set of "terminals," a "start variable," and a set of rules. Each rule must involve a single variable on its "left side", and any combination of variables and terminals on its right side. See • What is a Context-Free Grammar? for more details.
If you like this content, please consider subscribing to my channel: / @easytheory
▶SEND ME THEORY QUESTIONS◀
[email protected]
▶ABOUT ME◀
I am a professor of Computer Science, and am passionate about CS theory. I have taught many courses at several different universities, including several sections of undergraduate and graduate theory-level classes.
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: