CD | Parsers | LR parsing, LR(0) items and LR(0) parsing table | Ravindrababu Ravula | Free GATE CS

  Рет қаралды 1,385,800

Prof. Ravindrababu Ravula

Prof. Ravindrababu Ravula

Күн бұрын

Пікірлер
@ravindrababu_ravula
@ravindrababu_ravula 2 жыл бұрын
Get 7 Days free trial offer on Plus subscription:- unacademy.onelink.me/k7y7/f3r7fmbs
@kanubhaiparmar1592
@kanubhaiparmar1592 Жыл бұрын
9
@kanubhaiparmar1592
@kanubhaiparmar1592 Жыл бұрын
Pool
@kanubhaiparmar1592
@kanubhaiparmar1592 Жыл бұрын
O00mll0l
@kanubhaiparmar1592
@kanubhaiparmar1592 Жыл бұрын
M
@kanubhaiparmar1592
@kanubhaiparmar1592 Жыл бұрын
Loops0ppppl0l to
@congluong463
@congluong463 3 жыл бұрын
I'm a vietnamese engineering student, I struggled at this part and went on youtube for help, your 19 mins video is far easier to understand than my professor's 1 hour lesson, it's so much more productive. Thank you so much !
@snehar1111
@snehar1111 2 жыл бұрын
👍👍👍👍 super
@alokesh985
@alokesh985 4 жыл бұрын
This is literally the first time I am understanding a concept of compiler design... Thank you sir.
@u2bevdos
@u2bevdos 9 жыл бұрын
no words..you are a genius.. found your videos on networking helpful..Now you are offering the same kinda help with compiler too..big thanks sir..
@tylerhoyer1750
@tylerhoyer1750 6 жыл бұрын
Great explanation! When I watched this video the second time, the concepts finally started to click. However, I implemented a SLR parser table generator based off of your explanation and ran into a problem. Throughout this example there are a couple times when multiple transitions go to the same state. For example, the "A->.aA" is contained and multiple states and all transition to the state with "A->a.A" in its kernel, instead of creating a new state. I kept running into shift-shift conflicts (which shouldn't happen) because two items from the same state would try to transition to different states because the items they became were already contained in another state's kernel (the original set of items before the closure is applied). This method would have worked on your example because there isn't multiple items in a state which transition on the same symbol. The correct method to handle transitions is to check if all of the items which transition from a state on a symbol is equivalent to all the items in the kernel of another state. If they are, then the original state transitions to the other on the symbol. I was finally able to figure this out when I studied LALR parsers which merge LR states with the same kernel. Hopefully this helps someone else avoid the same pitfall that costed me a couple hours of head scratching!
@gauravgoyal1234
@gauravgoyal1234 5 жыл бұрын
Thanks!
@yusufsahin6849
@yusufsahin6849 25 күн бұрын
The best video that I've ever watched which explains this subject very well. THANK YOU
@malharjajoo7393
@malharjajoo7393 8 жыл бұрын
Really like how you have presented things in a clear,concise manner and most importantly , correct content ! Thank you very much ....
@vinayak186f3
@vinayak186f3 3 жыл бұрын
The one who figured this out first was absolute genius 🔥
@anubhavpandey8407
@anubhavpandey8407 4 жыл бұрын
who is here a day before the exam? xD
@mini22q11
@mini22q11 4 жыл бұрын
do u people have exams ?? ol or offline
@anubhavpandey8407
@anubhavpandey8407 4 жыл бұрын
@@mini22q11 online obvio
@mini22q11
@mini22q11 4 жыл бұрын
@@anubhavpandey8407 :all d best
@hamdis7449
@hamdis7449 4 жыл бұрын
Me rn😩🤣
@somiazulfiqar2017
@somiazulfiqar2017 4 жыл бұрын
Offline😪
@RikunjSuthar
@RikunjSuthar 10 жыл бұрын
best lecture ever...!! i had never seen this best technique before this. thank u :-)
@prithamhegde3353
@prithamhegde3353 10 жыл бұрын
You are too good. Explain things very easily and clearly.. It really helps a lot. Thank you :-)
@OUMAYOUBBENDJERIOU
@OUMAYOUBBENDJERIOU 6 жыл бұрын
Pritham Hegde
@nigamsingha1028
@nigamsingha1028 8 жыл бұрын
i have became your fan now sir, u saved me from getting supplys, ist in dbms ,networking and then compiler
@cadenzah93
@cadenzah93 6 жыл бұрын
I should admit myself that It was abit hard to listen to your accent, but I also have to admit that your lecture is very much helpful to me to understand about how to construct LR(0) parcer. Thank you for the great lecture.
@DebasishDas-bi4bo
@DebasishDas-bi4bo 5 жыл бұрын
11:30: "...Therefore now I'm going to construct the parsing table for this...." *But let me change my T-shirt first* 😂
@3in140
@3in140 5 жыл бұрын
ha hah
@namankhanooja5372
@namankhanooja5372 5 жыл бұрын
even he had to take a break from this shit xD
@soumyapawar8125
@soumyapawar8125 4 жыл бұрын
came here for this
@tiaraaja8268
@tiaraaja8268 3 жыл бұрын
@@3in140 appplla0pp\pawaslqqqppqppesaappqppp
@tiaraaja8268
@tiaraaja8268 3 жыл бұрын
😊😊🐱🐱🏡
@ajayunni7927
@ajayunni7927 8 жыл бұрын
The way of explanation is just amazing... You made such a boring subject interesting 😂
@simranvaidya1297
@simranvaidya1297 5 жыл бұрын
i wished my professors would teach like you
@MixatAAA
@MixatAAA 2 жыл бұрын
The best instructor ever on the web and in the world! Thank you so much!
@VPadu0
@VPadu0 4 жыл бұрын
I wish I could give you more than one like! Thanks for the explanation mate
@storyrkit7813
@storyrkit7813 3 жыл бұрын
Best lecture i have ever seen... Thank you bestie😘😘💕
@Bond00.7
@Bond00.7 2 жыл бұрын
Great explaination 👌 And yes nice physique man 🔥
@simpleepic
@simpleepic 2 жыл бұрын
A beautiful explanation. Regards from Sri Lanka. 🇱🇰
@anthatikalyan4995
@anthatikalyan4995 10 жыл бұрын
Wow, Great work Mr. Ravindra, I should really appreciate you for your efforts. keep going... :-)
@NeerajKumar-pt2zs
@NeerajKumar-pt2zs 3 жыл бұрын
Same question solution wrong on geeks for geeks . You are clear my doubts. Thank you sir.
@Samin7575
@Samin7575 5 жыл бұрын
u r better than my whole university teachers
@anumohan639
@anumohan639 8 жыл бұрын
You have done a wonderful job.. Thank You.. You desrves a really great future..
@AlMOUED
@AlMOUED Жыл бұрын
You explained the topic so clearly....thank you so much
@sirgemahender6148
@sirgemahender6148 5 жыл бұрын
You are really Superb Sir.💕💕😍
@chetnatripathi9346
@chetnatripathi9346 9 жыл бұрын
Sir u r sooo cute n ur way of explaining is so different
@DoDo-qi1vo
@DoDo-qi1vo 7 жыл бұрын
big thanks to you....I actually depend on your explanation to understand the course and get ready for exam...God help you as you help others
@roshanm4955
@roshanm4955 5 жыл бұрын
Long Live sir..Thanks a lot!
@musicforever81
@musicforever81 Жыл бұрын
video is 9 years ago.😮 Excellent Explanation 🎉🎉
@somiazulfiqar2017
@somiazulfiqar2017 4 жыл бұрын
Best teacher & teaching method✨
@AshishSasi1995
@AshishSasi1995 8 жыл бұрын
I believe that God exists, not as an omnipresent entity who fulfills every silly wish, to correct me when I stray, but as a presence that manifests when i need him the most. I pray for grades and he shows me how to get them, not by pouring them endlessly, but making me work for them by showing me the path, which makes it deserving rather than gifted, converting days of gibberish from countless so called teachers and making sense with words lasting a few minutes. If thats not a miracle, I dont know what is. For an engineer, whose life depends on decoding this gibberish, this entity offers us a better, endlessly feasible solution. All this without asking us for anything in demand but our time. God exists, I know him as Sir Ravindrababu Ravula. **respect**
@BrajeshKumar-ez8zs
@BrajeshKumar-ez8zs 8 жыл бұрын
BE YEE SAB LIKHNE SE ACHA ...PADH JA KE..
@shashishekhar1729
@shashishekhar1729 8 жыл бұрын
ha re tu padh
@AnandKumar-vf5by
@AnandKumar-vf5by 7 жыл бұрын
Hahaha
@saxena3718
@saxena3718 7 жыл бұрын
padh le bhai
@kittu5954
@kittu5954 7 жыл бұрын
That's so true!!!!!!!
@kobbsy
@kobbsy 10 жыл бұрын
you saved my life!
@sonalialwani8872
@sonalialwani8872 6 жыл бұрын
Shift reduce parser E->E-E E->E*E E->id
@jahangiralikhan2410
@jahangiralikhan2410 8 жыл бұрын
Made it so clear , Thank you !!!
@justlikethat2421
@justlikethat2421 10 жыл бұрын
sir,you explain awesome..great sir......
@Nhawy93
@Nhawy93 10 жыл бұрын
thank you, I got A+ on compiler because of u
@kaustubh_ramteke_07
@kaustubh_ramteke_07 3 жыл бұрын
@pritam patel convention meaning
@pravinalugade2959
@pravinalugade2959 5 жыл бұрын
S->A|B A->aA|b B->dB|b construction SLR (LR 0) parsing table.. Sir please make a video for this example because getting some difficulty to solve this problem
@vergil1444
@vergil1444 7 жыл бұрын
Great. I'm going to make a good score for compiler by your vids. Thank you
@aishwaryakasthala97
@aishwaryakasthala97 6 жыл бұрын
Niku dandam saami!!!! Sir mee valle compiler design pass avtam ani confidence vstondi!!!
@bigtuna1475
@bigtuna1475 8 жыл бұрын
Thank You Sir. Your lectures are very helpful and easy to understand!
@Nikhil7857
@Nikhil7857 7 жыл бұрын
thank you sir, your explanation has removed our ambiguity
@pratheekhebbar2677
@pratheekhebbar2677 2 жыл бұрын
sir thanks a lot for helping me to understand this concept.your explanation is simple and superb
@0503Mit
@0503Mit 8 жыл бұрын
Precise teaching with simplified examples. Thank you
@mathemtb11
@mathemtb11 9 жыл бұрын
thank you sir!!! you saved my exam
@bhavyatammina8017
@bhavyatammina8017 9 жыл бұрын
thank you a lot for making this so easy for me... thank you..
@harinipechetti5636
@harinipechetti5636 6 жыл бұрын
I like your way of explanation keep going like this sirrr
@billydongmo1732
@billydongmo1732 4 жыл бұрын
thank you a lot for these instructive and simple way to deal with these SLR parser
@peepforlearning6058
@peepforlearning6058 6 жыл бұрын
I have a doubt, do we put all the reduce 'r' in entire row, or by visualizing the follow to the left of production in SRL or LR(0). I referred "compiler principle and technique" by Alfred, Monica, Ravi, Jeffrey. page-254 4.6.4. Other all terms and explanation was very clear and understandable, thank you sir.
@sanjayKumar-sl6ho
@sanjayKumar-sl6ho 9 жыл бұрын
goddamnnnn... thanks brodaaa... that was too confusing but you made it toooo easy..... I'm moving onto further lectures of you.... thanks...
@informationtech1401
@informationtech1401 6 жыл бұрын
this type parser ,we understand from your lecture..so very nice sir👍
@billypak4605
@billypak4605 9 жыл бұрын
THANK YOU for the series of you've been creating. They are really amazing and very helpful
@allmarvelcontent
@allmarvelcontent 2 жыл бұрын
HOWS LIFE GOIN MAN?
@PetBuddies
@PetBuddies 2 жыл бұрын
@@allmarvelcontent same question
@aminayasmeen8895
@aminayasmeen8895 8 жыл бұрын
thanku sir..this all vedios from lect 1 are very usefull..very well explained hats off
@somyagupta1327
@somyagupta1327 8 жыл бұрын
Your all videos are so helpful for my exams. Thank you!!
@jayajaya4862
@jayajaya4862 4 жыл бұрын
Thanks alot sir.Your's explanation is very easy to understand the concepts.
@cgcg5323
@cgcg5323 2 жыл бұрын
thank you for your teaching! from Seoul
@tankado707
@tankado707 9 жыл бұрын
Thank you so much my friend, you are the one!
@alinegary
@alinegary 4 жыл бұрын
Thanks Mr.Ravula! It was really helpful.
@rutujapatil2666
@rutujapatil2666 10 жыл бұрын
hats off to u!!amazing compiler videos ever:) can plz upload code generation and optimization videos if possible
@srinivasp1858
@srinivasp1858 7 жыл бұрын
easily we can understand by his lecture
@NagaMani-rb9yq
@NagaMani-rb9yq 5 жыл бұрын
Good looking and way of explanation is also too good like you
@yamchirobe
@yamchirobe 10 жыл бұрын
Life saver!
@benchmarkking6438
@benchmarkking6438 5 жыл бұрын
@@hannanbaig7888 if X->AA then augmented grammar will be x'->x
@somiazulfiqar2017
@somiazulfiqar2017 4 жыл бұрын
😂😂😂
@CodeWithArjun
@CodeWithArjun 3 жыл бұрын
Thanks for this video. Best explanation.
@bestofme1028
@bestofme1028 2 жыл бұрын
CRYSTAL CLEAR EXPLANATION 💯
@sanjaysunkad9712
@sanjaysunkad9712 7 жыл бұрын
sir ur best! no words.... nice explained.... thank you ton ✌🙏
@Urururopa
@Urururopa 4 жыл бұрын
So much love ❤️
@benjaminmusasizi3777
@benjaminmusasizi3777 6 жыл бұрын
Thank you Ravula. This was super helpful.
@parsaimon
@parsaimon 6 жыл бұрын
You are a life saver, I like your videos
@solidgallium2191
@solidgallium2191 Жыл бұрын
thank you for the explanation, everything was very clear! i noticed that at 17:45 you put R1 on every column. shouldn't we put Rn on the symbols contained in the FOLLOW of S in this case? which unless i'm mistaken, the FOLLOW(S) = {$}
@laibalaiba3978
@laibalaiba3978 4 жыл бұрын
Very well explained 👌👌👌
@Nightingale1989
@Nightingale1989 9 жыл бұрын
Thanks a lot. You're much better at explaining these than my Compiler Design professor at CSU Fullerton :)
@utkarshsharma7061
@utkarshsharma7061 9 жыл бұрын
Best explanation!
@sudhabiradar881
@sudhabiradar881 6 жыл бұрын
so nice teaching sir i love your teaching .....
@thameralotaibi4802
@thameralotaibi4802 Жыл бұрын
Great job I totally understood, Thanks
@deepshah27996
@deepshah27996 7 жыл бұрын
R is not to be put everywhere , follow sets of S,A -- there its r must be placed @Raindrababu
@mrtabom
@mrtabom 7 жыл бұрын
Canonical collections of LR(0) items, is it same as DFA?
@ramyayenugula8026
@ramyayenugula8026 6 жыл бұрын
good explanation tq so much and please explain dangling else ambiguity problem
@camygiuliani8758
@camygiuliani8758 2 жыл бұрын
This video is so clear ! Thanks
@30benasabu65
@30benasabu65 Жыл бұрын
Sir when a left recursive grammar occur is it necessary to resolve the left recursion before finding the lr(0) canonical form. i also have a doubt what to do with epsilon productions
@mriduldas9531
@mriduldas9531 5 жыл бұрын
Your vedios are life saver thank you so much sir
@tris007
@tris007 8 жыл бұрын
Thank you very much for giving nice explanations.
@anup_narvekar
@anup_narvekar 4 жыл бұрын
Perfectly explained
@casualyoutuber3160
@casualyoutuber3160 2 жыл бұрын
Thanks man, you're a life saver. x
@ShahidAhmed_mait15
@ShahidAhmed_mait15 6 жыл бұрын
sir if we get a production in which left recursion is present then we need to remove it or not? I think we should remove, but please clear the doubt.
@256dooda
@256dooda 5 жыл бұрын
You make this all very easy, thank you so much
@omprakashsharma8994
@omprakashsharma8994 9 жыл бұрын
Best explanation sir, this video is very helpful for me
@mounir1979
@mounir1979 3 жыл бұрын
you just saved my compilers exam
@ancyrose6133
@ancyrose6133 8 жыл бұрын
thanq so much ....it helped me for my semester exam
@mayankkataria7829
@mayankkataria7829 9 жыл бұрын
Sir i have a doubt at 17:30 in video we have a final item in i1 also so why didnt we write r1 r1 r1 under a b $ in the i1 row.
@shariqkhan1455
@shariqkhan1455 9 жыл бұрын
+mayank kataria Buddy, the first expression is augmented (given by us). Therefore we'll accept it instead of righting r1.
@mayankkataria7829
@mayankkataria7829 9 жыл бұрын
+shariq Khan thanks brother but I already got it earlier when I further studied but thanks for your concern.
@lokeshgupta4011
@lokeshgupta4011 9 жыл бұрын
you are the best..... Amazing videos
@wasikhan6669
@wasikhan6669 4 жыл бұрын
Why we reduce number of states in LALR(1) parsing algorithm? Please answer
@haripriya93985
@haripriya93985 5 жыл бұрын
Great explanation sir
@radbrawler7757
@radbrawler7757 7 жыл бұрын
Does he just changed in between of lecture?
@akshitadoad765
@akshitadoad765 6 жыл бұрын
hahhah i also notices thAT
@Arijitpandareet
@Arijitpandareet 5 жыл бұрын
me too noticed
@arpitmishra8399
@arpitmishra8399 4 жыл бұрын
Was jst practicing tiktok cloth transition, dnt mind
@emremuhammetengin2085
@emremuhammetengin2085 2 жыл бұрын
Great explanation Thanks for helping bro
@0TheImaginary0
@0TheImaginary0 8 жыл бұрын
many thanks .. keep posting these amazing videos
@sasikirankakara2750
@sasikirankakara2750 7 жыл бұрын
Awesome Sir😍😘😘😘👌🙏
@swapnilbageshwar6066
@swapnilbageshwar6066 10 жыл бұрын
dis is what i wating for..
@deepakdeva2985
@deepakdeva2985 6 жыл бұрын
Tq u sooooo much sir..... It is very clear. Hope for more new viedos
@sarithamalavath484
@sarithamalavath484 5 жыл бұрын
Thank you bro ...😍😍😍
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН
CD | Parsers | CLR(1) and LALR(1) Parsers | Ravindrababu Ravula | Free GATE CS Classes
27:00
Compiler Design: Finding First & Follow Sets
11:39
Mifta Sintaha
Рет қаралды 156 М.
CD | Introduction | Elimination of Left Recursion and Left Factoring the Grammars | RBR
29:46
Compiler Design: SLR Parsing Table
16:54
Anita R
Рет қаралды 504 М.
The Lost World: Living Room Edition
0:46
Daniel LaBelle
Рет қаралды 27 МЛН