First and Follow in compiler design

Поділитися
Вставка
  • Опубліковано 23 гру 2024

КОМЕНТАРІ • 134

  • @-R-KolaNikhil
    @-R-KolaNikhil 5 років тому +82

    Hy sir I passed compiler design subject because of your vedios thank you so much sir yesterday we got jntuk results sir

  • @sundeepsaradhi
    @sundeepsaradhi 6 років тому +9

    Very clear explanation sir.👍

  • @akhilravilla8861
    @akhilravilla8861 4 роки тому +8

    I thought the compiler design is the difficult subject but your vedios made the subject easy. Thankyou..

    • @SudhakarAtchala
      @SudhakarAtchala  4 роки тому +2

      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.

  • @akshitajha1209
    @akshitajha1209 Рік тому +45

    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 Рік тому +5

      Then it becomes first of A=h,epsilon

  • @jeremiahthomas7594
    @jeremiahthomas7594 2 роки тому +3

    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.

  • @gamingwithbadboi3814
    @gamingwithbadboi3814 Рік тому +10

    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  Рік тому +1

      Okay. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @vikramoxford6055
    @vikramoxford6055 8 місяців тому +6

    Why people's comparing teachers to God now I understand ❤

    • @SudhakarAtchala
      @SudhakarAtchala  8 місяців тому +2

      So nice of you but that is worst comparison. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @janakimisaka4915
    @janakimisaka4915 11 днів тому

    Hi sir I am a big fan of your teaching style Lirerally I am waiting for your wishes for my exams and Really you are the one and only best lecturer in my point of view it means a lot to me sir❤

    • @SudhakarAtchala
      @SudhakarAtchala  2 дні тому

      All the best. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @s2csea02abhishekca7
    @s2csea02abhishekca7 Рік тому +3

    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  Рік тому +1

      All the best. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @s1mple..
    @s1mple.. Рік тому +13

    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❤

  • @priyankavasam07
    @priyankavasam07 Рік тому +4

    Wonderful explaination sir, got clear idea how to find first and follow sets. Thankyou for discussing so many examples..its very helpful

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      You are most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @Gokulraj-ld2my
    @Gokulraj-ld2my 2 роки тому +3

    Life saviour.. thank u so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 роки тому

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @arbaj_the_eagle
    @arbaj_the_eagle 3 роки тому +3

    Salute to u sir. Ur doing great job.
    Power 💪 to u

    • @SudhakarAtchala
      @SudhakarAtchala  3 роки тому +3

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thank you so much.

  • @zallalnawab786
    @zallalnawab786 9 місяців тому

    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  9 місяців тому +1

      It's my pleasure. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @vikibhai6
    @vikibhai6 8 місяців тому

    I appreciate your hard work sir❤❤

    • @SudhakarAtchala
      @SudhakarAtchala  8 місяців тому +1

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @karthikreigns5495
    @karthikreigns5495 Рік тому +1

    Underrated teacher😊

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @zaibafathima8101
    @zaibafathima8101 4 роки тому +12

    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  4 роки тому +2

      All the best Fathima for your exams

    • @SudhakarAtchala
      @SudhakarAtchala  4 роки тому +5

      I am from JNTU kakinada

    • @zaibafathima8101
      @zaibafathima8101 4 роки тому

      @@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 4 роки тому

      @@SudhakarAtchala Thank You Sir ..Plz Don't be dishearted for DS

    • @zaibafathima8101
      @zaibafathima8101 4 роки тому +1

      @@SudhakarAtchala I'm From JNTU Anantapur 😬 Thankyou So much For letting me to know

  • @AppaniMadhavi
    @AppaniMadhavi 5 місяців тому +1

    happy guru pournami sir

  • @vikibhai6
    @vikibhai6 8 місяців тому +1

    You deserve 1m subscribe

    • @SudhakarAtchala
      @SudhakarAtchala  8 місяців тому +1

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @avonflex5031
    @avonflex5031 5 років тому +7

    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 років тому +5

      Won 't epsilon be in the first(S)

  • @amirtharani4339
    @amirtharani4339 4 роки тому +1

    Sir no words, marvelous

  • @NrGangster-m8z
    @NrGangster-m8z 5 місяців тому

    fantastic teaching sir❤

    • @SudhakarAtchala
      @SudhakarAtchala  5 місяців тому

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @teczgaming7311
    @teczgaming7311 4 місяці тому +2

    Nice🎉

    • @SudhakarAtchala
      @SudhakarAtchala  4 місяці тому

      Thanks. 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.

  • @keerthikarthik098
    @keerthikarthik098 Рік тому

    Happy Teacher's Day sir!!

  • @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.

  • @sainani3926
    @sainani3926 4 місяці тому

    Salute to the legend for students

    • @SudhakarAtchala
      @SudhakarAtchala  4 місяці тому

      Thanks. Please like the video, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @sirisha9156
    @sirisha9156 4 роки тому

    Thank you sir really very nice and clear explanation sir tq very much sir

  • @hodgensonkasitu9328
    @hodgensonkasitu9328 Рік тому +1

    Thank you Sir. This has really helped me understand parsing trees using top-down parser.

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому +1

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

    • @hodgensonkasitu9328
      @hodgensonkasitu9328 Рік тому

      @@SudhakarAtchala Have subscribed already...

  • @manojpadhi8548
    @manojpadhi8548 4 роки тому

    Very well explained Sir.

    • @SudhakarAtchala
      @SudhakarAtchala  4 роки тому +1

      Thanks for liking. Plz subscribe to the channel and if possible share with your friends. Thanks

  • @definitesquare
    @definitesquare 5 місяців тому +2

    You are god sir

    • @SudhakarAtchala
      @SudhakarAtchala  5 місяців тому

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @nishantkumartomar6901
    @nishantkumartomar6901 3 роки тому +10

    Sir, I think there should be an epsilon in first(S) at 32:30

    • @SudhakarAtchala
      @SudhakarAtchala  3 роки тому +2

      ya, thanks for correction. Plz subscribe to the channel and if possible share with your friends. Thanks in advance.

  • @joelnada3483
    @joelnada3483 5 років тому

    Thank you sir for the video lecture......

    • @SudhakarAtchala
      @SudhakarAtchala  4 роки тому +2

      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.

  • @sunildawadi4386
    @sunildawadi4386 2 роки тому +1

    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.

  • @onyinyechiatula4337
    @onyinyechiatula4337 Рік тому

    Sir please which textbooks can I use to see practice questions for compiler design

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому +1

      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

  • @Sarishanischal
    @Sarishanischal Рік тому

    you made toc and cd easy!!!

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      So nice of you. Plz subscribe to the channel and if possible share with your friends. Thanks in advance...

  • @SiddharthGawande-bd8do
    @SiddharthGawande-bd8do Рік тому

    thanks sir

    • @SudhakarAtchala
      @SudhakarAtchala  Рік тому

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @vishnu3141
    @vishnu3141 4 місяці тому

    nice sir

    • @SudhakarAtchala
      @SudhakarAtchala  4 місяці тому

      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.

  • @unique_bhanu
    @unique_bhanu 9 місяців тому

    thank you so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  9 місяців тому

      Most welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @samudragupta2587
    @samudragupta2587 5 років тому

    Very intuitive.

  • @cododita6731
    @cododita6731 3 роки тому

    Sir why follow does not accept € ??

  • @ramaraog4630
    @ramaraog4630 5 років тому +1

    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

  • @ramaraog4630
    @ramaraog4630 5 років тому +1

    sir kindly upload the remaining topics of compilerdesign

    • @SudhakarAtchala
      @SudhakarAtchala  5 років тому

      K. I will upload remaining videos as early as possible.

  • @shanthirajyam
    @shanthirajyam 2 роки тому

    Thanks lot sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 роки тому

      Welcome. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @vuthemanh4269
    @vuthemanh4269 9 місяців тому

    so good

    • @SudhakarAtchala
      @SudhakarAtchala  9 місяців тому

      Thanks. Plz subscribe to the channel and if possible share with your friends. Thanks in advance..

  • @c.danielpremkumar8495
    @c.danielpremkumar8495 4 роки тому

    Excellent !

    • @SudhakarAtchala
      @SudhakarAtchala  4 роки тому

      Glad you like it daniel premkumar Plz subscribe to the channel and if possible share with your friends. Thank you so much.

  • @savithaprasad1804
    @savithaprasad1804 4 роки тому +1

    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.

  • @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.

  • @ramaraog4630
    @ramaraog4630 5 років тому +1

    Sir kindly release the remaining topics of 4th and 5th units

    • @SudhakarAtchala
      @SudhakarAtchala  5 років тому +2

      I will upload remaining videos with in 1 week .From tomorrow onwards daily I will upload 3 videos.

  • @SuperStriker_
    @SuperStriker_ 5 років тому

    Thank you sir

    • @SudhakarAtchala
      @SudhakarAtchala  5 років тому

      Plz subscribe to the channel and share with your friends thank you so much.

  • @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.

  • @tesfamichaelalmaw
    @tesfamichaelalmaw Місяць тому

    Thanks

    • @SudhakarAtchala
      @SudhakarAtchala  Місяць тому

      Welcome. Please like the videos, subscribe to the channel, and share it with your friends. Thanks in advance.

  • @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.

  • @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.

  • @somyasahu2000
    @somyasahu2000 4 роки тому

    Sir according to which university syllabus you are teaching??

    • @SudhakarAtchala
      @SudhakarAtchala  4 роки тому +1

      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  4 роки тому +1

      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 4 роки тому

      @@SudhakarAtchala thnku sir

    • @zaibafathima8101
      @zaibafathima8101 4 роки тому

      JNTU😊😊...I'm From JNTU Anantapur (Andhra Pradesh)

  • @manoj_fitness_ms
    @manoj_fitness_ms 8 місяців тому

    prasad prefered me to subscribe to this channel

  • @saikrishnasonti5990
    @saikrishnasonti5990 5 років тому

    S--->A
    A--->aB|Ad please reply
    First(s) &first( A)

  • @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 років тому +1

      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

  • @sheezanawaz476
    @sheezanawaz476 3 роки тому

    S  AB
    A  DG | ε
    B  *AB | ε
    D  id | ( S
    G  +DG | ε
    Plz find follow...