Context-Free Grammars (CFGs): 5 Intermediate Examples

  Рет қаралды 23,369

Easy Theory

Easy Theory

Күн бұрын

Пікірлер: 21
@nekytasnim456
@nekytasnim456 Жыл бұрын
Clear and concise explanation. You deserve more subscribers. Thank you so much!
@abhinav9936
@abhinav9936 Жыл бұрын
@EasyTheory I should be really thankful to you as you helped me ace the Theory of Computer Science exam.. your lesson videos helped me a lot
@mrboss3952
@mrboss3952 2 жыл бұрын
Great video, really informative. Any video you might suggest about DFAs and NFAs, on drawing them with examples?
@EasyTheory
@EasyTheory 2 жыл бұрын
Edit: I have several examples that are really old on the channel about creating DFAs and NFAs - may want to check the "intro theory" playlist.
@dd1.d
@dd1.d Жыл бұрын
thank you so much. Your videos are helping me a lot
@bloodthirstybutcher8365
@bloodthirstybutcher8365 2 жыл бұрын
dude my test was last friday if you had posted it earlier 😭😭😭
@EasyTheory
@EasyTheory 2 жыл бұрын
Should have reminded me ;)
@sc5shout
@sc5shout Жыл бұрын
If in the last example instead of i
@gauravghosh6562
@gauravghosh6562 Жыл бұрын
no it won't , then you would have to remember the S->Sc and X->Xb productions rest all will be same
@rollbacked
@rollbacked Жыл бұрын
I have a question, what if the case were that n >= 1? Is it still context free?
@robwindey9223
@robwindey9223 Жыл бұрын
Could it be that example 3 is still missing X -> X1|X0 to be able to generate all possible strings with this X rule?
@melihathevlogger3737
@melihathevlogger3737 9 ай бұрын
thank you
@pateldhyey3063
@pateldhyey3063 Жыл бұрын
In the first example s can also be lambda/epsilon
@saumickpradhan2767
@saumickpradhan2767 11 ай бұрын
S -> X where X is Lambda is taking care of that my friend
@rocksbox156
@rocksbox156 Жыл бұрын
How did you know that L = {0^n1^n2^n} wasn't a context free language?
@vimalathithand917
@vimalathithand917 9 ай бұрын
Thanks !
@akshitjain2906
@akshitjain2906 6 ай бұрын
legend
@juicewar
@juicewar 6 ай бұрын
Hello, can someone let me know if my CFG for generating non palindromes is correct, thank you! S -> 1A0 | 0A1 A -> ε | A0 | A1
@rahuljaswal9270
@rahuljaswal9270 2 ай бұрын
GOD
@CLG111
@CLG111 Жыл бұрын
In that last example the explanation could have been better. It was confusing.
@surferriness
@surferriness Жыл бұрын
Imagine: everytime you produce b, you produce ( a | epsilon ) everytime you produce c, you produce ( a | epsilon ) so for any word in this language, counting occurences by stacking the yielded terminals: '( a | epsilon )' and 'c' '( a | epsilon )' and 'c' . . . '( a | epsilon )' and 'c' '( a | epsilon )' and 'b' '( a | epsilon )' and 'b' . . . '( a | epsilon )' and 'b' + ______________________ => total number of 'a'
Chomsky Normal Form - what is it?
37:42
Easy Theory
Рет қаралды 11 М.
Context-Free Grammars (CFGs): 5 Easy Examples
19:03
Easy Theory
Рет қаралды 48 М.
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 10 МЛН
Smart Sigma Kid #funny #sigma
00:14
CRAZY GREAPA
Рет қаралды 7 МЛН
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 29 МЛН
Mom had to stand up for the whole family!❤️😍😁
00:39
Context Free Grammar to Pushdown Automaton Conversion (CFG to PDA)
24:21
Pumping Lemma for Context-Free Languages: Four Examples
48:49
Easy Theory
Рет қаралды 52 М.
Viral Video of a Man's Crazy Job Interview
16:02
Darryl Vega TV
Рет қаралды 1,3 МЛН
4. Pushdown Automata, Conversion of CFG to PDA and Reverse Conversion
1:09:23
MIT OpenCourseWare
Рет қаралды 69 М.
CFG and Parse Tree Examples! (Sipser 2.1 Solution)
9:32
Easy Theory
Рет қаралды 19 М.
Context-Free Grammars (Brief Intro to Formal Language Theory 5)
12:08
Isabel Cooke McKay
Рет қаралды 8 М.
How to Create a Language: Dothraki Inventor Explains | WIRED
13:14
REAL 3D brush can draw grass Life Hack #shorts #lifehacks
00:42
MrMaximus
Рет қаралды 10 МЛН