CD | Parsers | Introduction to parsers and LL(1) parsing | Ravindrababu Ravula |Free GATE CS Classes

  Рет қаралды 974,516

Ravindrababu Ravula

Ravindrababu Ravula

Күн бұрын

For Course Registration Visit: ravindrababura...
. For Any Queries, You can contact RBR on LinkedIn: / ravindrababu-ravula
Telegram: t.me/ravindrab...
Instagram: / ravindrababu_ravula_rbr
For Full Compiler Design Playlist: • Compiler Design - GATE... If you're considering studying abroad, don't forget to explore 'Games of Visas,' my dedicated consultancy service and KZbin channel designed to streamline the process of studying abroad.
For Study Abroad, contact "Game of Visas" at 9494555454

Пікірлер: 210
@jacksonbodra6450
@jacksonbodra6450 8 жыл бұрын
I am an engg. student and i only study before a day of exam but on that day i was enjoying and only enjoying. then i noticed its 20'clock mid-night. holy molly .....only few hours were left for my exam. so i got fresh and smoked 1 cigarette and get on with my studies. Did not sleep the whole night and watched this video till morning and learned everything. I just wanted to thank you. If it weren't for you, i wouldn't have passed my CD exam. and now i am recommending to my juniors bout your channel and learn from your videos. thank you sir !!!
@aaqibhaque7194
@aaqibhaque7194 7 жыл бұрын
This is so true with Bangladeshi students as well. Ravindra Sir jee k liye dil se dua aata hai..
@rahulranjan4615
@rahulranjan4615 7 жыл бұрын
Aaqib Haque Hindi bahut accha hai aapka...
@hasmituchil5214
@hasmituchil5214 7 жыл бұрын
Exam ke ek hafte pehle yahan aane wale sabhi bhai bandhuon ka swagat hai. Isse achha content kahin nahi milega. Sahi jagah aaye ho. Mann lagakar padhai karo. -Aap ka senior.
@pablochocobar08
@pablochocobar08 7 жыл бұрын
dil ki baat kardi bhaai aapne... jaane kitne logon ki back bachaai hain iss channel ne
@siddharthachatterjee7372
@siddharthachatterjee7372 7 жыл бұрын
gaar mara jaa raha hain ...inta kaise yaad rakhu...ak bhi job nahi milega aisa karke
@sirjansingh8355
@sirjansingh8355 5 жыл бұрын
Exam se ek ghanta pehele aye to?
@utsavchaudhary1133
@utsavchaudhary1133 5 жыл бұрын
@@sirjansingh8355 did you qualify your exam?
@girishpareek7617
@girishpareek7617 4 жыл бұрын
Ek shaam pehle bhai😋😋
@cameronlyall4271
@cameronlyall4271 6 жыл бұрын
IDK Why my uni pays for lecturers. Just stick this guy on and watch everyone pass
@getvasued
@getvasued 6 жыл бұрын
Thank you KZbin, for the 1.5x feature.
@amitkrishnaa5440
@amitkrishnaa5440 4 жыл бұрын
You mean 2x feature? :)
@xixnecroxix
@xixnecroxix 4 жыл бұрын
+1
@karanyadav8594
@karanyadav8594 4 жыл бұрын
Also thanks to him. He is very clear and confident.
@nomen385
@nomen385 2 жыл бұрын
@@amitkrishnaa5440 man I feel high on symbols rn 😂😂
@shivaliraghav8524
@shivaliraghav8524 10 жыл бұрын
Sir.....these are really very helpful lectures.....must say u are a very good teacher.... Plz upload some more videos discussing the GATE questions. Thank u!
@devmishra4700
@devmishra4700 7 жыл бұрын
LL(1) Parsers from 09:57
@StevenAkinyemi
@StevenAkinyemi 8 жыл бұрын
Thanks Ravindrababu Ravula. You just saved me some depression.
@sharathchandra65
@sharathchandra65 7 жыл бұрын
sir..u are really my saviour coz..we haven't got our syllabus to this deep in our colleges..if study would be this much effective​ in every college..we wouldn't have get failed in examz..thanx alot.. I was totally preparing from your lectures..thank u sir for your service...
@NewtonCazzaro
@NewtonCazzaro 6 жыл бұрын
I'm here because you're good at teaching compiler construction
@apoorvarajan3735
@apoorvarajan3735 7 жыл бұрын
I am so thankful for these lectures. They're exact upto my university course which btw sucks and so does the faculty. Thankyou so much sir for sharing your knowledge with students who desperately need it ☺
@damindharhakim7568
@damindharhakim7568 8 жыл бұрын
Dude, Thanks! You have saved a genius from failing in this exam. Respect.
@jhansipravallika5377
@jhansipravallika5377 8 жыл бұрын
seriously?😂
@barsopiavivek
@barsopiavivek 9 жыл бұрын
u have better concept building than my gateforum lecturer!
@girishpareek7617
@girishpareek7617 4 жыл бұрын
Aao bhai log ek raat pehle shuru karte hain iss bhavya subject ko jo pure semester toh samajh aaya nahin Shayad aaj aa jaye. Give thumbs up to show the feeling of brotherhood.
@AsmarOm
@AsmarOm 7 жыл бұрын
I cannot express how grateful I am. THANK YOU
@N1ickom
@N1ickom 6 жыл бұрын
Followed this guy's course hes excellent nailed 87 out of 100 score thanks to him perfect course explained so good
@sasat3257
@sasat3257 4 жыл бұрын
I really wish all the youth to take this kind of Highly talented people who brightened so many of student's lives rather than going behind cinema heroes 🙏
@suryaG12345
@suryaG12345 7 жыл бұрын
anna nu thop anna nevalle na exams anni pass ayna abaaa em chptav anna okkasari vintae chalu oneday batting lo kuda 80% score cheyochu tqqq anna
@kkhanh4y
@kkhanh4y 3 жыл бұрын
tHOSE WhO dislike Ravindra babu's video, they might be youtuber who can not explain like sir does! if agree, push tHumbs uP!
@atheeralgh9316
@atheeralgh9316 9 жыл бұрын
i like the video, very useful. BUT the one who's filming this is getting on my nerves with constantly playing with the camera and move it right to left and vice versa!!!!!!!!!!!!!
@triggersharma2311
@triggersharma2311 5 жыл бұрын
GOD/SAVIOUR/SOURCE OF HOPE/DEITY OF B.TECH STUDENTS
@damndaniel111
@damndaniel111 6 жыл бұрын
Sir i have passed so many exams because of you. thanks sir. u have done wonders. great job.
@waseemkntar2566
@waseemkntar2566 7 жыл бұрын
A lot of examples --> a lot of understanding ... thanks Ravula
@asrinivasareddy4066
@asrinivasareddy4066 6 жыл бұрын
Thank you very much for explaining the content .It is of great help. I can't what the professors are saying in the class but i can understand what you are saying very clearly .
@atkuriajaykumar3701
@atkuriajaykumar3701 4 жыл бұрын
now i understood my college lecturers are waste.sir you are real talent
@cybodrive
@cybodrive 8 жыл бұрын
These compiler lectures are awesome!!! I would change a grammar for this lecture though, it is left recursive, A->Abc | b. Given that top down parser cannot handle left recursive grammars, this lecture could be confusing to someone.
@zeeshananwar8682
@zeeshananwar8682 6 жыл бұрын
Exactly same confusion
@mdferdousbinhafiz107
@mdferdousbinhafiz107 3 жыл бұрын
You said that top-down parser can not have left recursion. But the second production (A->Abc) is left recursive. Can you please explain?
@HimanshuMalhotra07
@HimanshuMalhotra07 8 жыл бұрын
Explosion at 1:23! :O
@taiammumjunayed2955
@taiammumjunayed2955 6 жыл бұрын
LMAO
@ShivamPanchbhai
@ShivamPanchbhai 6 жыл бұрын
Haha
@dipanjandeb9283
@dipanjandeb9283 6 жыл бұрын
LMAO
@ujking7970
@ujking7970 5 жыл бұрын
Thanks it was very helpful!!
@ammoj8164
@ammoj8164 7 жыл бұрын
thank you sir for free coaching...I pass cc because of you only.. thank you again.
@steamerandy
@steamerandy 4 жыл бұрын
I a long long time ago developed a programming lenguage development system. It had a parser programming language not a parser generator. The example expr parsing formulas below are examples: EXPR = TERM "('+':ADD|'-':SUB) TERM !2); TERM = FACTOR $('*':MPY|'/':DIV)FACTOR!2); FACTOR = ( '(' EXPR ')' | ID | NUMBER ) ('^' FACTOR:XPN!2) ; I designed and wrote compilers in the late 1960 and 1070s. What is taught today has completely ignored early compiler development systems that use TDPLs (Top Down Parser Programming Languages). I use the above terminology to explicitly distinguish them from parser generators. They do not limit you to a left or right derivation tree. You build the tree using a symbiotic stack based tree construction language. There are three stacks. The call stack holds the return address to the calling parse function. It may also hold stack frames and arguments for functions having them. Generator language functions for example. Parser functions resemble grammar rules. (They may be considered a type of analytical grammar. There three type of formule: Character class : formula define and name character groups. bin: '0'|'1'; oct: bin|'2'|'3'|'4'|'5'|'6'|'7'; dec: oct|'8'|'9'; hex: dec|'a'|'b'|'c'|'d'|'e'|'f' |'A'|'B'|''|'D'|'E'|'F'; Token .. formula are used to recognize variable tokens. Key words, operator and such are usually recognized using constant strings. Tree construction is accomplished using two working stacks that are I dependent from the call stack. A node object is created and pushed on the node stack using: : :ADD creates an ADD node and pushes it onto the node stack. Trees are constructed using:
@rubeenajamadar3575
@rubeenajamadar3575 6 жыл бұрын
Tysm... I enjoyed ua lecture... N its really helpful.... N more ua really cute😍
@gmailg1168
@gmailg1168 5 жыл бұрын
I have a doubt for bottom up parsing why we use right most derivation by using left most derivation also it will come? How that come I couldn't get please help me
@anubhavc36
@anubhavc36 6 жыл бұрын
this guru hits gym hard vascularity vissible good job
@BDMworld
@BDMworld 7 жыл бұрын
your teaching video about compiler design is osm.....
@cseklrcet9864
@cseklrcet9864 4 жыл бұрын
in exam paper this type of diagram can be drying he put a full maxs ?????
@rahulkhandelwal8781
@rahulkhandelwal8781 7 жыл бұрын
Sir your explanation is awesome, don't know why we can't have a book with such simple explanation, may be you can write one :D .
@hakunamatata4453
@hakunamatata4453 7 жыл бұрын
hi, Sir, the video is superb, but there's this one doubt at 2:45 that you for TDP there should be no Ambiguous grammar, to do so we must use left recursion but you say there should be no left recursion for TDP, can you please explain this.
@AbdulBasith-ev9mf
@AbdulBasith-ev9mf 5 жыл бұрын
Thankyou for great explanation.... Still I have one doubt.. Recursive descent parsing needs backtracking.. but you classified it in Top down parser without backtracking.. could you please clarify this?
@nikhilshingadiya7798
@nikhilshingadiya7798 2 жыл бұрын
3:38 time (video) : A->Abc/b is left recursive is it valid in top down parsing
@BlitzToon
@BlitzToon 6 жыл бұрын
Hello thx for your work;) Why is first(S) = c surely if A -> a | "epsilong"? c would not be the first character in all situations?? (15:00)
@radheshyamacholiya9210
@radheshyamacholiya9210 6 жыл бұрын
Why we will add $ always and why $ is always in the follow of S. One more question if we do not have any symbol after a symbol why we go and track left hand side to calculate follow
@siraa8438
@siraa8438 6 жыл бұрын
Sir ure doing an amazing job but I have a confusion in this lecture video. We know that tdp cannot handle left recursive grammer but you parsed A-Abc/b using it. Kindly help me with this here.
@lalaanzal5034
@lalaanzal5034 8 жыл бұрын
your speeking way much nice and easy to understand you are my favourit teacher.................thanks
@chetnakoul6648
@chetnakoul6648 7 жыл бұрын
Too good... Very informative and easily understandable..Thank you 👍
@pawanpikapin
@pawanpikapin 7 жыл бұрын
sir finite state machines with output are used for interpreters or what? DFA and NFA accept strings that belong to the language so they are basically a graphical representation of parsers but what about melay and moore machines? they produce output
@Rebika2015
@Rebika2015 7 жыл бұрын
All your videos may it be of Compiler or Operating System..Its just Awesome..Thanx
@BDMworld
@BDMworld 7 жыл бұрын
please bro suggest me the java tutorial channel in which i can learn completely.....
@afeefarafeeque6365
@afeefarafeeque6365 7 жыл бұрын
Sir , I am having doubt please clear it , its at 9:49 , why RMD in reverse?? its Still LMD in reverse na?? :(
@blackrocks7839
@blackrocks7839 6 жыл бұрын
Awesome sir , Big Love big respect from Pakistan .
@yogeshpawar8034
@yogeshpawar8034 8 жыл бұрын
Thank you for your all videos on compiler and other subjects.
@keerthyreddy7778
@keerthyreddy7778 5 жыл бұрын
Can u please explain the difference between top down approach and bottom up approach
@sahilthakur6874
@sahilthakur6874 10 жыл бұрын
Very good lectures, need more lecture
@ivanklimov979
@ivanklimov979 4 жыл бұрын
That is exactly what I was looking for. Thx you man. Several short lections instead of semester course. XD
@dharanipriya3899
@dharanipriya3899 7 жыл бұрын
your teaching is super. I can understood easily.
@justforyou2144
@justforyou2144 6 жыл бұрын
How can you convert this program (a:T; b:F; - (a | b) ^ (!b) ^ (!a)$ ) to context free grammar. Appreciate your help.
@swaathisree6830
@swaathisree6830 6 жыл бұрын
i hope i pass this paper in this semester :( Thank you for teaching this subject so well.
@suryaprakash18ms
@suryaprakash18ms 3 жыл бұрын
you passed senior??
@abir95571
@abir95571 8 жыл бұрын
Sir,with due respect at 7:08 u said top down parser employs left most recursion,but doesn't top down parser takes right most recursive production rules,just had a doubt :)
@StevenAkinyemi
@StevenAkinyemi 8 жыл бұрын
No. TDPs use leftmost derivation, and don't confuse recursion with derivations. If the grammar is constructed properly, you can derive without recursing.
@dracomalfoy1245
@dracomalfoy1245 6 жыл бұрын
1:23 he says "popping " and it explodes . lol
@kamleshgaude6235
@kamleshgaude6235 4 жыл бұрын
😂😂😂😂
@assermahmoud8571
@assermahmoud8571 9 жыл бұрын
Thank you, i want to know if python be used to perform this method
@miliboy3077
@miliboy3077 4 жыл бұрын
What happens to the epsilon for the last two problems?
@SreyRc
@SreyRc 4 жыл бұрын
Explained so well! Thanks a lot brother!
@alishbhaskar5576
@alishbhaskar5576 10 жыл бұрын
useful... i like the way of teaching ideast step by step
@somakdas3779
@somakdas3779 8 жыл бұрын
Sir, please provide 1 lecture about type checking of compiler.
@whynot7432
@whynot7432 4 жыл бұрын
1:48 clear view of the chart
@csa5129
@csa5129 4 жыл бұрын
thank you so much sir for such a great teaching..
@Batmanyank
@Batmanyank 7 жыл бұрын
Life Saving. Thanks alot sir! :)
@jeetsethi414
@jeetsethi414 8 жыл бұрын
i do not understand ... how first of A is C ... If i consider the grammar then..first of A is B... B-> C, C->d ... so should it be C or d ??
@hasmituchil5214
@hasmituchil5214 8 жыл бұрын
jeet sethi Hmmm.. 17:48 mistake... Follow of A would be d...
@aviroopbasu666
@aviroopbasu666 7 жыл бұрын
No it's not wrong ! c is terminal here not a Variable !
@Prithviization
@Prithviization 7 жыл бұрын
C is non-terminal thats why C->d is possible
@rvng6
@rvng6 6 жыл бұрын
Dude i hope you could create a cc in english, because i can't understand some of your words, Anyway good video and so helpful :)
@barsopiavivek
@barsopiavivek 9 жыл бұрын
11:40 better explanation is parsers uses PDA ,and "$" here specifies bottom of stack
@sabanapervin4086
@sabanapervin4086 6 жыл бұрын
you are just owsome .... great knowledge
@mohankrishna6185
@mohankrishna6185 4 жыл бұрын
Can anybody explain what is predictive parser??
@vivekpathak3770
@vivekpathak3770 9 жыл бұрын
thankyou you explain in simple language
@Thetutorialpoint
@Thetutorialpoint 4 жыл бұрын
recursive descent is with backtracking, it should be recursive predictive parser
@sonubieber7884
@sonubieber7884 8 жыл бұрын
Ur amazing.....helped me a lot...I do love you
@nikhilb3880
@nikhilb3880 5 жыл бұрын
recursive descent parsing has backtracking right?
@himanshubhaskar3404
@himanshubhaskar3404 5 жыл бұрын
i also think that recursive descent should come under the category of full backtracking???what you think?
@shubhamnimiwal2108
@shubhamnimiwal2108 10 жыл бұрын
very helpful lectures..... thanks for sharing....
@neerajklvn658
@neerajklvn658 6 жыл бұрын
Why input symbol is always followed by $?
@ananthulanarmada8008
@ananthulanarmada8008 9 жыл бұрын
hii sir u r teaching is super and thanq
@maheshvarma2914
@maheshvarma2914 9 жыл бұрын
this is very useful got a hope that I'll pass my exam😂 thankyouuuuu
@mb1mb193
@mb1mb193 2 жыл бұрын
Heard any blast sound at 1:23 ?
@tErMInATor97191
@tErMInATor97191 7 жыл бұрын
Ye bnda sabko pass kraega!
@victorpopescu1228
@victorpopescu1228 7 жыл бұрын
man u are a god thanks so much :D
@ManojKumar-ow9ou
@ManojKumar-ow9ou 9 жыл бұрын
ty sir...can u explain me pumping lemma for CFL
@aymarfeed
@aymarfeed 5 жыл бұрын
Great explanation! Thank u so much!!!!!!!!!!
@NehaAmritsar
@NehaAmritsar 4 жыл бұрын
skip first 10 minutes to go directly for LL(1) parsing. :)
@nirmalbabu9570
@nirmalbabu9570 5 жыл бұрын
pl share your workout routine also amazing content
@PoojaKumari-xt2wi
@PoojaKumari-xt2wi 5 жыл бұрын
Vedio is very helpfull thanks
@crashkidCH
@crashkidCH 8 жыл бұрын
The first grammar you used as an example is left-recursive and is therefore in general not applicable for top-down parsing. I also don't see why grammars should not be ambiguous ...
@StevenAkinyemi
@StevenAkinyemi 8 жыл бұрын
Wrong. When parsing operators (*, +, ^, & ...), for example, one needs to sort out their different levels of precedence, else one will end up with expected results. And if the semantics of the language has some element of associativity "(2 + 2) + 2" vs "2 + (2 + 2 )", then disambiguating a grammar is necessary.
@crashkidCH
@crashkidCH 8 жыл бұрын
What is wrong? The fact that the first grammar is left-recursive and therefore not suitable for top down parsers (A->Abc/b)? You surely need to disambiguate the grammar at some point but this in general is an implementation specific thingy (which is one of the weaknesses of CFGs, requiring the concrete implementation to provide the lookahead to disambiguate), unless you use a formalism such as PEGs, isn't it? p.s. I don't see how your example shows the problem of operator precedence? I guess you meant something like "2 + 2 * 2" vs. "(2 + 2) * 2" ...
@StevenAkinyemi
@StevenAkinyemi 8 жыл бұрын
I was addressing your "I also don't see why grammars should not be ambiguous" statement. I did mention the problem of operator precedence, which is one of the reasons you need to disambiguate, but "(2 + 2) + 2" vs "2 + (2 + 2 )" was for associativity ambiguity. I agree that such ambiguities are CFGs thing, but the examples he used are CFGs.
@KM-sf6zy
@KM-sf6zy 3 жыл бұрын
You're genius sir
@shailan7466
@shailan7466 6 жыл бұрын
Nice lectures on compilers
@amishamanjunath7816
@amishamanjunath7816 9 жыл бұрын
Very helpful!! Thank you so much:)
@darshitgajjar5199
@darshitgajjar5199 8 жыл бұрын
saru,i make my own compiler please suggest me
@darshitgajjar5199
@darshitgajjar5199 8 жыл бұрын
really fantastic video sar
@saadmanahmed860
@saadmanahmed860 4 жыл бұрын
the first terminal after derivation is called first() .
@purvakashyap9354
@purvakashyap9354 6 жыл бұрын
Thanku sir awsm videos Thanku again
@dharmikthakkar8072
@dharmikthakkar8072 6 жыл бұрын
Thank u so much sir u r too good....
@mallicksuchitra9588
@mallicksuchitra9588 6 жыл бұрын
I love u and I love ur teaches Style
@athukutti
@athukutti 5 жыл бұрын
awesome lectures
@sajalagrawal1430
@sajalagrawal1430 5 жыл бұрын
dilo me exam ki tention le kar ji rahe ho tum , to zinda ho tum
@rajdeepmazumdar2760
@rajdeepmazumdar2760 6 жыл бұрын
Sir, u are stunning, but ask your camera man to stop fidgeting
@MuhammadNadeemm_nadeem37
@MuhammadNadeemm_nadeem37 9 жыл бұрын
next level Thank You :-)
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24
小路飞嫁祸姐姐搞破坏 #路飞#海贼王
00:45
路飞与唐舞桐
Рет қаралды 29 МЛН
Don't look down on anyone#devil  #lilith  #funny  #shorts
00:12
Devil Lilith
Рет қаралды 46 МЛН
规则,在门里生存,出来~死亡
00:33
落魄的王子
Рет қаралды 32 МЛН
Top Down Parsers - LL(1) Parsers
16:16
Neso Academy
Рет қаралды 91 М.
Top Down Parsing
10:31
TutorialsPoint
Рет қаралды 94 М.
Viral Video of a Man's Crazy Job Interview
16:02
Darryl Vega TV
Рет қаралды 1,3 МЛН
What is LL(1) Parser | LL1 Parsing Algorithm | Top down Parsing | Compiler Design
21:07
KnowledgeGATE by Sanchit Sir
Рет қаралды 43 М.
Parsing Bottom Up - Computerphile
11:13
Computerphile
Рет қаралды 79 М.
Top Down Parsers - Recursive Descent Parsers
20:24
Neso Academy
Рет қаралды 154 М.
Synyptas 4 | Арамызда бір сатқын бар ! | 4 Bolim
17:24