First and Follow in compiler design

  Рет қаралды 113,380

Sudhakar Atchala

Sudhakar Atchala

5 жыл бұрын

#FirstandFollowincompilerdesign #Firstincompilerdesign #Followincompilerdesign
This video contains how to calculate First and Follow.

Пікірлер: 124
@-R-KolaNikhil
@-R-KolaNikhil 4 жыл бұрын
Hy sir I passed compiler design subject because of your vedios thank you so much sir yesterday we got jntuk results sir
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Congrats
@akshitajha1209
@akshitajha1209 Жыл бұрын
32:15 Why is first of S d,g and not d,g,h because if we put epsilon in place Of B in A->BC, then we should consider C productions for calculation of first
@kvinay8412
@kvinay8412 Жыл бұрын
Then it becomes first of A=h,epsilon
@arbaj_the_eagle
@arbaj_the_eagle 3 жыл бұрын
Salute to u sir. Ur doing great job. Power 💪 to u
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thank you so much.
@s1mple..
@s1mple.. Жыл бұрын
i wrote the semester exam well, by watching your lectures thank you sir❤,for bottom up parsers, we can draw flow graph little easier,hope you will add that in your next videos❤
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Excellent
@akhilravilla8861
@akhilravilla8861 4 жыл бұрын
I thought the compiler design is the difficult subject but your vedios made the subject easy. Thankyou..
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Hai Akhil, plz go through my videos once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.
@jeremiahthomas7594
@jeremiahthomas7594 2 жыл бұрын
was stryggling to unerstand this, thank you sir
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@zaibafathima8101
@zaibafathima8101 3 жыл бұрын
Amazing Teaching Sir...❤️❤️ Suddenly They announced Exmz(JnTu ATP)I'm following your videos😍I didn't listen online class and even I didn't understood their class ..Today Date:16-OCT-2020..I'm preparing for my Exm ...When I get results I will Update 😅
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
All the best Fathima for your exams
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
I am from JNTU kakinada
@zaibafathima8101
@zaibafathima8101 3 жыл бұрын
@@SudhakarAtchala 🤩🤩I'm so happy ..Now I'm watching your videos and I got a comment ..I will upadte my results too Today date :16-Oct -2020..After results I will Update u Sir (In First and Follow video I will upadte my results)Due to this lockdown ..Thank God I got u . I thought I will fail Later My lecturer Shared your video links ❤️❤️Suman Sir
@zaibafathima8101
@zaibafathima8101 3 жыл бұрын
@@SudhakarAtchala Thank You Sir ..Plz Don't be dishearted for DS
@zaibafathima8101
@zaibafathima8101 3 жыл бұрын
@@SudhakarAtchala I'm From JNTU Anantapur 😬 Thankyou So much For letting me to know
@priyankavasam07
@priyankavasam07 10 ай бұрын
Wonderful explaination sir, got clear idea how to find first and follow sets. Thankyou for discussing so many examples..its very helpful
@SudhakarAtchala
@SudhakarAtchala 10 ай бұрын
You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@sundeepsaradhi
@sundeepsaradhi 5 жыл бұрын
Very clear explanation sir.👍
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Thanks sir.
@samudragupta2587
@samudragupta2587 4 жыл бұрын
Very intuitive.
@salonisharma
@salonisharma 3 жыл бұрын
Thank you for the video sir.It is really helpful.
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Glad to hear that Saloni. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@Gokulraj-ld2my
@Gokulraj-ld2my Жыл бұрын
Life saviour.. thank u so much sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@AppaniMadhavi
@AppaniMadhavi 3 күн бұрын
happy guru pournami sir
@joelnada3483
@joelnada3483 4 жыл бұрын
Thank you sir for the video lecture......
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Hai Joel Nada, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.
@zallalnawab786
@zallalnawab786 3 ай бұрын
I SALUTE YOUR TEACHING SKILL SIR . U R ONE OF THE WELL KNOWLEDGABLE PROFESSOR IN THIS UTBE . I ALWYS SUPPORT YOU KEEP IT UP. SIR YOUR WAY OF TEACHING IS REALLY UNDERSTANDABLE . I REALLY APPRICIATE YOUR KNOWLEDGE. KEEP UPLOADING THE VLOGS. YOU REALLY DESERVES MILLION'S OF SUBCRIBERS. THANKS A LOT SIR U VANISHED MY DOUBTS 🙏🏻
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
It's my pleasure. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@hodgensonkasitu9328
@hodgensonkasitu9328 Жыл бұрын
Thank you Sir. This has really helped me understand parsing trees using top-down parser.
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@hodgensonkasitu9328
@hodgensonkasitu9328 Жыл бұрын
@@SudhakarAtchala Have subscribed already...
@user-cp6vi3zy8x
@user-cp6vi3zy8x 7 күн бұрын
fantastic teaching sir❤
@SudhakarAtchala
@SudhakarAtchala 7 күн бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@amirtharani4339
@amirtharani4339 3 жыл бұрын
Sir no words, marvelous
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks a lot
@avonflex5031
@avonflex5031 5 жыл бұрын
At ex 4 32:11 wen we substitute B as epsilon than it will bcome A-->C from A-->BC , so again shouldnt we calculate first of C And include..?
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
ya what you said is correct . We need to calculate first(C) also. But there is no change is no change in result why because we calculated first(C) for the production first(CbB). Thanks for your observation.
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Hai avon flex Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions.
@asherabraham3034
@asherabraham3034 5 жыл бұрын
Won 't epsilon be in the first(S)
@vikibhai6
@vikibhai6 3 ай бұрын
You deserve 1m subscribe ❤
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@sunildawadi4386
@sunildawadi4386 2 жыл бұрын
Sir, do we have to remove both left recursion and left factoring before finding first and follow?
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Yes. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@tejaswinimannuru9729
@tejaswinimannuru9729 5 жыл бұрын
very easily understandable .tq sir
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Hai Tejaswini Thanks for your encouragement and support towards our channel.Share my sessions with your friends and subscribe to our channel.Keep on following my sessions.
@c.danielpremkumar8495
@c.danielpremkumar8495 3 жыл бұрын
Excellent !
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Glad you like it daniel premkumar Plz subscribe to the channel and if possible share with your friends. Thank you so much.
@manojpadhi8548
@manojpadhi8548 3 жыл бұрын
Very well explained Sir.
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Thanks for liking. Plz subscribe to the channel and if possible share with your friends. Thanks
@sirisha9156
@sirisha9156 3 жыл бұрын
Thank you sir really very nice and clear explanation sir tq very much sir
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Keep watching
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
plz subscribe to the channel and if possible share with your friends. Thanks
@s2csea02abhishekca7
@s2csea02abhishekca7 Жыл бұрын
I hope I will do better in the semester exam.I have sem exam this Friday .I had failed in internals but hope I will do better in semester exam.Thank you sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@vikibhai6
@vikibhai6 3 ай бұрын
I appreciate your hard work sir❤❤
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@berrah6514
@berrah6514 4 жыл бұрын
Thank you Sir .
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Hai ber rah, plz go through my playlists once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.
@karthikreigns5495
@karthikreigns5495 Жыл бұрын
Underrated teacher😊
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@gamingwithbadboi3814
@gamingwithbadboi3814 8 ай бұрын
Example 4: S--->ACB/CbB/Ba A--->da/BC B--->g/€ C--->h/€ So first should be {a,b,d,g,h,€} but you wrote only {a,b,d,g,h} but € not written
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
Okay. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@definitesquare
@definitesquare 2 күн бұрын
You are god sir
@SudhakarAtchala
@SudhakarAtchala Күн бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@eakubislam4439
@eakubislam4439 2 жыл бұрын
Thank You Sir...❤
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@ramaraog4630
@ramaraog4630 5 жыл бұрын
Sir kindly upload thegarbage collection,trace based collection,simple code generator,register allocation and assignment,dynamic programming code generation,data flow analysis,constant propagation,partial redundancy elimination,back patching,type checking,type equvalance,intermediate code for procedure
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
K.
@user-mk5hr2mj4x
@user-mk5hr2mj4x 8 ай бұрын
you made toc and cd easy!!!
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@SuperStriker_
@SuperStriker_ 5 жыл бұрын
Thank you sir
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Plz subscribe to the channel and share with your friends thank you so much.
@onyinyechiatula4337
@onyinyechiatula4337 Жыл бұрын
Sir please which textbooks can I use to see practice questions for compiler design
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Alfred aho text book. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@onyinyechiatula4337
@onyinyechiatula4337 Жыл бұрын
@@SudhakarAtchala Thank you, I'm already a subscriber
@ananyamishra6411
@ananyamishra6411 2 жыл бұрын
you are just god
@SudhakarAtchala
@SudhakarAtchala 2 жыл бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@keerthikarthik098
@keerthikarthik098 10 ай бұрын
Happy Teacher's Day sir!!
@SudhakarAtchala
@SudhakarAtchala 10 ай бұрын
Thank you so much.
@SiddharthGawande-bd8do
@SiddharthGawande-bd8do 8 ай бұрын
thanks sir
@SudhakarAtchala
@SudhakarAtchala 8 ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@cododita6731
@cododita6731 3 жыл бұрын
Sir why follow does not accept € ??
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
i.e the rule chandra.
@vuthemanh4269
@vuthemanh4269 3 ай бұрын
so good
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@nishantkumartomar6901
@nishantkumartomar6901 3 жыл бұрын
Sir, I think there should be an epsilon in first(S) at 32:30
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
ya, thanks for correction. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.
@ramaraog4630
@ramaraog4630 5 жыл бұрын
Sir kindly release the remaining topics of 4th and 5th units
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
I will upload remaining videos with in 1 week .From tomorrow onwards daily I will upload 3 videos.
@ramaraog4630
@ramaraog4630 5 жыл бұрын
sir kindly upload the remaining topics of compilerdesign
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
K. I will upload remaining videos as early as possible.
@ramaraog4630
@ramaraog4630 5 жыл бұрын
Can u upload any remaining topics of compiler design
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Definitely. Tomorrow i will upload Backpatching, Intermediate code for procedures, intermediate code for switch statement, Target machine model, Simple code generator algorithm, type checking and data flow analysis. on 17th and 18th i will upload remaining topics.
@vikramoxford6055
@vikramoxford6055 3 ай бұрын
Why people's comparing teachers to God now I understand ❤
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
So nice of you but that is worst comparison. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...
@savithaprasad1804
@savithaprasad1804 4 жыл бұрын
Sir first(s) should contain epsilon in example 4
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Not needed because we can substitte € there
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
Hai Savitha, plz go through my videos once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.
@somyasahu2000
@somyasahu2000 3 жыл бұрын
Sir according to which university syllabus you are teaching??
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
UNIT - I Introduction to Compiler: Compiler, The Phases of Compiler, Approaches to compiler Development-Boot Strapping, Lexical Analysis: The role of lexical analyzer, Input buffering, Specification of tokens, Recognization of Tokens, A language for specifying lexical analyzers (LEX). UNIT - II Syntax Analyzer: The role of parser, Writing a Grammar-Elimination of Left recursion and Left factoring. Top down parsing -Recursive descent parsing, Predictive parsing, Preprocessing steps required for predictive parsing, LL (1) grammar. UNIT - III Bottom up parsing: Shift/Reduce parsing, Operator Precedence Parsing, LR parsers-SLR, CLR and LALR, Error recovery in LR parsing, YACC - automatic parser generator. UNIT - IV Syntax Directed Translation: Syntax directed Definitions, Construction of syntax trees Attribute Grammars- S-attributed and L-attributed grammars, Type checking. Run time storage: Storage organization, storage allocation strategies. Intermediate code generation: Intermediate code forms-Syntax tree, polish notation and three address code, implementation of three-address code, Declarations, Boolean Expressions and Control-flow statements. UNIT - V Code optimization: Introduction, The principle sources of optimization, Loop optimization, and Peephole optimization, optimization of basic blocks. Code generation: Design issues, object code forms, A simple code generator, Register allocation and assignment, DAG representation of Basic Blocks, Code generation using DAG.
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
Hai Somya, plz go through my videos once. Definitely you will like more videos. Thanks for your encouragement and support towards our channel. Share my sessions with your friends and subscribe to our channel.Keep on following my sessions. Thank you so much.
@somyasahu2000
@somyasahu2000 3 жыл бұрын
@@SudhakarAtchala thnku sir
@zaibafathima8101
@zaibafathima8101 3 жыл бұрын
JNTU😊😊...I'm From JNTU Anantapur (Andhra Pradesh)
@sportsadda124
@sportsadda124 3 ай бұрын
prasad prefered me to subscribe to this channel
@SudhakarAtchala
@SudhakarAtchala 3 ай бұрын
Thanks.
@ramaraog4630
@ramaraog4630 5 жыл бұрын
Sir kindly upload the remaining topics of compiler design of 4th and 5th units.as main exams are commencing from may 2019
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Ok
@SudhakarAtchala
@SudhakarAtchala 5 жыл бұрын
Can you Please tell the exact date of the exam so that I will try to upload the remaining videos before that date . I'm busy with several works from the past 1 week . Definitely I try to upload from 30 I. e. Tuesday onwards.
@ramaraog4630
@ramaraog4630 5 жыл бұрын
@@SudhakarAtchala ok sir i wiil tell
@c.d.premkumar6867
@c.d.premkumar6867 3 жыл бұрын
32.32: First(C) = h / epsilon
@SudhakarAtchala
@SudhakarAtchala 3 жыл бұрын
ya prem. Plz subscribe to the channel and if possible share with your friends. Thank you so much.
@saikrishnasonti5990
@saikrishnasonti5990 4 жыл бұрын
S--->A A--->aB|Ad please reply First(s) &first( A)
@SudhakarAtchala
@SudhakarAtchala 4 жыл бұрын
First(S)=First(A)=a
@sheezanawaz476
@sheezanawaz476 3 жыл бұрын
S  AB A  DG | ε B  *AB | ε D  id | ( S G  +DG | ε Plz find follow...
@unique_bhanu
@unique_bhanu 4 ай бұрын
thank you so much sir
@SudhakarAtchala
@SudhakarAtchala 4 ай бұрын
Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
@shanthirajyam
@shanthirajyam Жыл бұрын
Thanks lot sir
@SudhakarAtchala
@SudhakarAtchala Жыл бұрын
Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..
LL(1) parser|predictive parser|non recursive predictive parsing
1:27:26
Sudhakar Atchala
Рет қаралды 163 М.
FIRST() and FOLLOW() Functions
11:53
Neso Academy
Рет қаралды 256 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 10 МЛН
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 188 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 113 МЛН
ЧУТЬ НЕ УТОНУЛ #shorts
00:27
Паша Осадчий
Рет қаралды 9 МЛН
How to manage the class room
3:39
MY TEACHING STYLE CHANNEL
Рет қаралды 326 М.
basic blocks and flow graphs in compiler design
17:54
Sudhakar Atchala
Рет қаралды 127 М.
Recursive Descent parser
23:06
Sudhakar Atchala
Рет қаралды 113 М.
Alex hid in the closet #shorts
00:14
Mihdens
Рет қаралды 10 МЛН