First and Follow in compiler design

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ต.ค. 2024

ความคิดเห็น • 130

  • @-R-KolaNikhil
    @-R-KolaNikhil 4 ปีที่แล้ว +65

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

  • @akshitajha1209
    @akshitajha1209 ปีที่แล้ว +41

    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 ปีที่แล้ว +4

      Then it becomes first of A=h,epsilon

  • @akhilravilla8861
    @akhilravilla8861 4 ปีที่แล้ว +4

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

    • @SudhakarAtchala
      @SudhakarAtchala  4 ปีที่แล้ว +1

      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 ปีที่แล้ว +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.

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

  • @sundeepsaradhi
    @sundeepsaradhi 5 ปีที่แล้ว +5

    Very clear explanation sir.👍

  • @gamingwithbadboi3814
    @gamingwithbadboi3814 11 หลายเดือนก่อน +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  11 หลายเดือนก่อน +1

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

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

  • @zaibafathima8101
    @zaibafathima8101 4 ปีที่แล้ว +11

    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 ปีที่แล้ว

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

  • @Gokulraj-ld2my
    @Gokulraj-ld2my ปีที่แล้ว +3

    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.

  • @zallalnawab786
    @zallalnawab786 6 หลายเดือนก่อน

    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  6 หลายเดือนก่อน +1

      It's my pleasure. 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.

  • @s2csea02abhishekca7
    @s2csea02abhishekca7 ปีที่แล้ว +2

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

  • @vikibhai6
    @vikibhai6 6 หลายเดือนก่อน

    I appreciate your hard work sir❤❤

    • @SudhakarAtchala
      @SudhakarAtchala  6 หลายเดือนก่อน +1

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

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

  • @karthikreigns5495
    @karthikreigns5495 ปีที่แล้ว +1

    Underrated teacher😊

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

  • @vikibhai6
    @vikibhai6 6 หลายเดือนก่อน +1

    You deserve 1m subscribe

    • @SudhakarAtchala
      @SudhakarAtchala  6 หลายเดือนก่อน +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)

  • @vikramoxford6055
    @vikramoxford6055 6 หลายเดือนก่อน +4

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

    • @SudhakarAtchala
      @SudhakarAtchala  6 หลายเดือนก่อน +1

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

  • @amirtharani4339
    @amirtharani4339 4 ปีที่แล้ว +1

    Sir no words, marvelous

  • @NrGangster-m8z
    @NrGangster-m8z 3 หลายเดือนก่อน

    fantastic teaching sir❤

    • @SudhakarAtchala
      @SudhakarAtchala  3 หลายเดือนก่อน

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

  • @definitesquare
    @definitesquare 3 หลายเดือนก่อน +2

    You are god sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 หลายเดือนก่อน

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

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

  • @sirisha9156
    @sirisha9156 4 ปีที่แล้ว

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

    • @SudhakarAtchala
      @SudhakarAtchala  4 ปีที่แล้ว

      Keep watching

    • @SudhakarAtchala
      @SudhakarAtchala  4 ปีที่แล้ว

      plz subscribe to the channel and if possible share with your friends. Thanks

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

  • @sainani3926
    @sainani3926 2 หลายเดือนก่อน

    Salute to the legend for students

    • @SudhakarAtchala
      @SudhakarAtchala  2 หลายเดือนก่อน

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

  • @keerthikarthik098
    @keerthikarthik098 ปีที่แล้ว

    Happy Teacher's Day sir!!

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

  • @AppaniMadhavi
    @AppaniMadhavi 3 หลายเดือนก่อน

    happy guru pournami sir

  • @teczgaming7311
    @teczgaming7311 2 หลายเดือนก่อน +2

    Nice🎉

    • @SudhakarAtchala
      @SudhakarAtchala  2 หลายเดือนก่อน

      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.

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

  • @joelnada3483
    @joelnada3483 4 ปีที่แล้ว

    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.

  • @Sarishanischal
    @Sarishanischal 11 หลายเดือนก่อน

    you made toc and cd easy!!!

    • @SudhakarAtchala
      @SudhakarAtchala  11 หลายเดือนก่อน

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

  • @unique_bhanu
    @unique_bhanu 7 หลายเดือนก่อน

    thank you so much sir

    • @SudhakarAtchala
      @SudhakarAtchala  7 หลายเดือนก่อน

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

  • @vishnu3141
    @vishnu3141 2 หลายเดือนก่อน

    nice sir

    • @SudhakarAtchala
      @SudhakarAtchala  2 หลายเดือนก่อน

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

  • @samudragupta2587
    @samudragupta2587 4 ปีที่แล้ว

    Very intuitive.

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

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

  • @shanthirajyam
    @shanthirajyam ปีที่แล้ว

    Thanks lot sir

    • @SudhakarAtchala
      @SudhakarAtchala  ปีที่แล้ว

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

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

  • @vuthemanh4269
    @vuthemanh4269 6 หลายเดือนก่อน

    so good

    • @SudhakarAtchala
      @SudhakarAtchala  6 หลายเดือนก่อน

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

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

  • @cododita6731
    @cododita6731 3 ปีที่แล้ว

    Sir why follow does not accept € ??

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

  • @SiddharthGawande-bd8do
    @SiddharthGawande-bd8do 11 หลายเดือนก่อน

    thanks sir

    • @SudhakarAtchala
      @SudhakarAtchala  11 หลายเดือนก่อน

      Most welcome. 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.

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

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

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

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

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

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

  • @manoj_fitness_ms
    @manoj_fitness_ms 6 หลายเดือนก่อน

    prasad prefered me to subscribe to this channel

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

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

  • @saikrishnasonti5990
    @saikrishnasonti5990 5 ปีที่แล้ว

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

  • @sheezanawaz476
    @sheezanawaz476 3 ปีที่แล้ว

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