CD | Syntax Directed Translation | Syntax directed translation examples | Ravindrababu Ravula

Поделиться
HTML-код
  • Опубликовано: 27 окт 2024

Комментарии • 256

  • @naveengupta6878
    @naveengupta6878 7 лет назад +134

    whenever there is a reduction, we go to the production and carry out the Action. wow, that rhymed. 3:20

    • @ultimatehuzefa
      @ultimatehuzefa 7 лет назад +25

      Naveen Gupta yes ravindra sir is also going to teach us how to rap and make money after you complete engineering

    • @piyushtiwarisagar
      @piyushtiwarisagar 6 лет назад +9

      padh le beta

    • @faizsyed658
      @faizsyed658 6 лет назад +1

      Loll

    • @tejasnareshsuvarna7948
      @tejasnareshsuvarna7948 5 лет назад +1

      @@ultimatehuzefa Lololololol🤣🤣🤣🤣🤣🤣🤣

  • @siddharthdwivedi804
    @siddharthdwivedi804 7 лет назад +126

    My teacher learns from him and next day teaches us exactly the same questions. I wish my college directly played his video in the classroom and gave us the party with his salary. #ChangeReaction

    • @sladdha1998
      @sladdha1998 6 лет назад +11

      Even our teacher does the same.

    • @sanidhyapal5065
      @sanidhyapal5065 6 лет назад

      Are are you from my college? :'D

    • @vasuagrawal3552
      @vasuagrawal3552 6 лет назад +35

      That's because he is using standard examples which are given in book... So all teachers for basics use the same example who have read the book. You should also try touching the book once.

    • @shreyashdeogade8869
      @shreyashdeogade8869 5 лет назад +25

      Ever referred a standard textbook? These are direct examples from standard textbooks. Before calling your teacher incompetent, how about you stop being ignorant?

    • @ameenurrahmankhan6933
      @ameenurrahmankhan6933 5 лет назад

      😂😂😂😂😂😂😂😂😂😂😂😂😂

  • @yazanshakhshir3049
    @yazanshakhshir3049 7 лет назад +16

    I am heading now to college to do my exam after watching the entire tutorial :D :D
    thank a lot Mr.Ravindrababu :D :D

  • @smitkumarrathod8393
    @smitkumarrathod8393 3 года назад +4

    I'm so glad I started my engineering after these videos have been uploaded!

  • @ashleshholla
    @ashleshholla 9 лет назад +4

    I have Compiler Design course in college. And your videos helped me so much. i cannot thank you enough.

    • @RK22082
      @RK22082 10 месяцев назад

      Bro long time 8 years back ...

  • @apekshakatarni3502
    @apekshakatarni3502 9 лет назад +18

    clarity is achieved here

  • @codesmart9044
    @codesmart9044 4 года назад +6

    Great teaching . One things interesting rym i found when there is reduction we go to production and do the action :)

  • @NAVAP_IAS
    @NAVAP_IAS 4 года назад +55

    Anyone still in 2020 watching this..!

  • @kdpoint4221
    @kdpoint4221 5 лет назад +3

    Thak u sir because of u my compiler exam was too good...
    U r amazing.....

  • @dhavalshah3519
    @dhavalshah3519 6 лет назад +3

    Thank u sir..
    Lectures might make my way to get good marks in academics as well as gate and in inproving knowledge

  • @mapanapu
    @mapanapu 5 лет назад +2

    Very well made videos. Your lectures on compilers have been tremendous help!

  • @munilakshmipotula8390
    @munilakshmipotula8390 5 лет назад +2

    Ur way of explaining is excellent sir....tq so much sir.....

  • @suvradeepbanerjee6801
    @suvradeepbanerjee6801 10 лет назад +7

    Your're a life saver sir !!

  • @satishchandramedi9729
    @satishchandramedi9729 3 года назад +10

    Whenever there is a "reduction" we go to "production" and perform the "action"....😂😂 Nice sync

  • @gousiarafath1118
    @gousiarafath1118 9 лет назад +3

    ur videos r so helpfull thank u so much......... sir

  • @zenith_369
    @zenith_369 8 лет назад +1

    Thank you very much for the well detailed lectures,they were really amazing and really helped me score good marks.

  • @softy7221
    @softy7221 9 лет назад +1

    Very clear.Can u explain how to generate semantic rules for a given example. That would b very helpful, thanks.

  • @gowthamivid1091
    @gowthamivid1091 4 года назад +2

    Thank you sir excellent teaching

  • @manaswisalunkhe6233
    @manaswisalunkhe6233 5 лет назад +2

    Thank you for this video it's help me in my engineering exam....

  • @omargonalfa
    @omargonalfa 7 лет назад +2

    Great tutorial. Thank you !!!!

  • @konarkverma4344
    @konarkverma4344 8 лет назад +51

    I like the way he speaks 'W'
    daabalauo

    • @igniculus_
      @igniculus_ 7 лет назад +6

      'A' ... yey yey .... yey yey yey ....

    • @hemantthakur5380
      @hemantthakur5380 7 лет назад +5

      it's double 'u' . w derives from uu and vv so that pronunciation is standard

    • @guruhiremath2908
      @guruhiremath2908 5 лет назад +1

      @@hemantthakur5380 You guys are more concerned with his flow of speaking rather than what he teaches lolzzzzzzzzzzzz

    • @abhinavtalari8397
      @abhinavtalari8397 4 года назад

      Haan ye karlo pehle xD

  • @tabassumjahan7343
    @tabassumjahan7343 6 лет назад +3

    U r the best teacher

  • @vikaskumar-su9vy
    @vikaskumar-su9vy 7 лет назад +533

    Hit like if you are watching this video one day before exam

    • @firdaws
      @firdaws 7 лет назад +9

      vikash kumar One hour before the exam 😂

    • @adityaganduri7670
      @adityaganduri7670 6 лет назад +5

      actually, 1hr before the exam

    • @SlashU631
      @SlashU631 6 лет назад +2

      10 minutes before exam

    • @pahadishan3756
      @pahadishan3756 6 лет назад +6

      video is of 30 min !! u r not going to exam ? 😂😂😂😂😂

    • @reemfahad8934
      @reemfahad8934 6 лет назад +2

      What if I’m watching it 30 min before the exam 😂

  • @SreeragNairisawesome
    @SreeragNairisawesome 10 лет назад +1

    Superb.....U made it very easy for me. Subscribed . Thnx n keep up the good work.

  • @RK22082
    @RK22082 10 месяцев назад +1

    Nice video 😊

  • @sanjanakabadi7315
    @sanjanakabadi7315 10 лет назад +2

    thank you so much sir for your explanation just loved it wonderful voice !!!!

  • @samuels611
    @samuels611 3 года назад

    Hey! Thank you for the clean explanation.
    A question: how would you handle white spaces in a SDT ?

  • @saifurrahmanbhuiyan925
    @saifurrahmanbhuiyan925 8 лет назад +1

    really Great work .....................

  • @saurabhtarkar773
    @saurabhtarkar773 10 лет назад +30

    can u please upload lectures continuing this to intermediate code generation.

  • @chirayushrestha9737
    @chirayushrestha9737 9 лет назад +10

    video is nothing but awesome

  • @sharathchandra6166
    @sharathchandra6166 7 лет назад +1

    you helped for my exams thanks :D

  • @ApintoAApintoA
    @ApintoAApintoA 5 лет назад +41

    RIP to all those found this after their exam

    • @utsavrajput9966
      @utsavrajput9966 5 лет назад +4

      I found this after my BE 😑

    • @abhinavtalari8397
      @abhinavtalari8397 4 года назад +3

      RIP to all those who found this, one night before a 9:00AM Paper

    • @entertainmentmedia9573
      @entertainmentmedia9573 3 года назад +1

      @@abhinavtalari8397 bro plz tell me what is mvbt at the begenning of leacture sir said❓

  • @vitali450
    @vitali450 8 лет назад +1

    thank you! you have been very helpful!!

  • @suriyakalal2706
    @suriyakalal2706 8 лет назад +1

    Sir u videos are excellent

  • @Dhanalakshmi-qg8ck
    @Dhanalakshmi-qg8ck 4 года назад +1

    Superb explanation

  • @tabassumjahan7343
    @tabassumjahan7343 6 лет назад +1

    Thank you so much sir for uploading all videos

  • @nehag2806
    @nehag2806 4 года назад

    Thank u sir.....it is very helpful to us

  • @pralhadgamare3044
    @pralhadgamare3044 6 лет назад +1

    awesome, sir!!!

  • @skittles6486
    @skittles6486 5 лет назад +1

    Can you please upload SDD and intermediate code generation lectures?

  • @justinkarki481
    @justinkarki481 4 года назад +8

    My teacher told us that he watches your videos before teaching us 😂

  • @abhisheksatyam4733
    @abhisheksatyam4733 7 лет назад

    I am very thankful to you sir..................!

  • @balaramkantipudi3728
    @balaramkantipudi3728 8 лет назад +1

    reduction production action nice one....

  • @shilpareddy624
    @shilpareddy624 4 года назад

    Thank you sooooo muchhhh Sir🙂😊👏👏

  • @kamalchoudhary8364
    @kamalchoudhary8364 5 лет назад

    Helped me a lot.

  • @prekshajain2200
    @prekshajain2200 7 лет назад +2

    In the example 2#3&5#6&4 at the end of the video, why + is having higher precedence than * though semantic rule with * is written above +

    • @piyushtiwarisagar
      @piyushtiwarisagar 6 лет назад +1

      the operators nearest to the start symbol have lowest precedence and the operators farthest have highest precedence. I can explain to you on paper but as of now you can take that as a fact.

    • @sonianarendramodi2605
      @sonianarendramodi2605 3 года назад

      @@piyushtiwarisagar Thanks man

  • @sumangogu
    @sumangogu 10 лет назад +2

    Lucid Explanation ,I have not seen yet.

  • @lalithasrikakullapu4268
    @lalithasrikakullapu4268 6 лет назад

    Excellent sir

  • @gauthamkamath4826
    @gauthamkamath4826 5 лет назад +2

    What if the semantic rules are not given and only the string to be parsed is give with productions?

  • @Jawa_Traveller
    @Jawa_Traveller 6 лет назад +1

    sir why dont you make a video about
    Syntax Directed Definitions(SDD)

  • @priyajha2618
    @priyajha2618 9 лет назад +1

    how IR’s at different levels of abstraction enables code improvements of different natures.

  • @shabihabano6959
    @shabihabano6959 7 лет назад +2

    can u please tell me how to construct CFG for SWITCH SYNTAX

  • @flaviaawan6297
    @flaviaawan6297 7 лет назад +3

    can u plz tell me the difference between SDT and SDD?

  • @iitianphilosopher
    @iitianphilosopher 2 года назад

    thank you sir

  • @diamondDog_629
    @diamondDog_629 8 лет назад +16

    sir why did u do top down parsing and bottom up parsing the same way? so u got the same answer. Actually bottom up parsing should be done in reverse of right derivation. If u do like that you will get the postfix expression

    • @nandyhaaru9298
      @nandyhaaru9298 6 лет назад +1

      John Bonda yeahh

    • @vishal1111
      @vishal1111 6 лет назад

      Actually u r right...something went wrong..

    • @NiteshSingh5375
      @NiteshSingh5375 5 лет назад +1

      Yeah! This comment I was searching for.

    • @NiteshSingh5375
      @NiteshSingh5375 5 лет назад

      Actually, he wants to convey that Bottom-up parser like S.R parser will work as post-order traversal, but bottom-up parsing works differently.

  • @kishordas7357
    @kishordas7357 7 лет назад

    sir please upload videos on intermediate code generation,code optimisation and symbol tables

  • @priyakoshta7129
    @priyakoshta7129 9 лет назад

    Simply amazing !!!!

  • @iansamz
    @iansamz 6 лет назад

    You the best Man ....

  • @Ek_Berozgar
    @Ek_Berozgar 5 лет назад +2

    whenever there is a reduction, we go to the production and carry out the Action. wow, that rhymed

  • @nikitasinha8181
    @nikitasinha8181 4 года назад

    Thank u so much sir

  • @sextolife
    @sextolife 8 лет назад

    really great sir

  • @malharjajoo7393
    @malharjajoo7393 8 лет назад

    Fantastic.

  • @thamizharasim5970
    @thamizharasim5970 4 года назад

    Thanks 😊

  • @poojaroysstudent4365
    @poojaroysstudent4365 6 лет назад

    very usefull sir.......

  • @gayathrijahanmohan4954
    @gayathrijahanmohan4954 7 лет назад +3

    how to draw annotated parse for conditional statement like (x200)

  • @appexplored7678
    @appexplored7678 4 года назад

    someone plz explain me what is the diff in top down and bottom up approach here, he is doing the same thing in the bottom up and top down approach here. Need help.

  • @AnshumanKumar007
    @AnshumanKumar007 5 лет назад

    This guy is God.

  • @simextube
    @simextube 2 года назад

    where we rincorrect ecognize the semantic error while we implement semantically incorrect input

  • @jiyaazeem6444
    @jiyaazeem6444 4 года назад +4

    sir kindly send me the parse tree of last question.

  • @innocentdevil1122
    @innocentdevil1122 7 лет назад

    This is bottom up parsing and only synthesized attributes r used....please post a video of top down parsing with inherited attirbutes.
    T -> FT'
    T' -> *FT'
    T' -> ε
    f -> digit
    solve 3*5 using upper grammar using top down parsing.

  • @scrpion838
    @scrpion838 6 лет назад

    Dear Sir , I Have a doubt in Example 5 , w=4-2-4*2 =12 , it has 10 reduction that is ok , but can you explain ,If i do Bottom up parser evaluation method i am getting answer as 4 ? but actual answer is 12 ? how is it ? sir ..??? whether any another parse tree needed

  • @tabassumjahan7343
    @tabassumjahan7343 6 лет назад

    Plz sir upload the all next videos of compiler design.
    Plz.....

  • @linachatterjee3968
    @linachatterjee3968 8 лет назад +1

    sir what is the a*-(b+c/d) syntax tree diagram and its postfix expression?
    pllzz help

  • @bikrombetal
    @bikrombetal 5 лет назад +1

    But how did you find the precedence order? i am not getting that !!!

    • @prashanttgs
      @prashanttgs 5 лет назад

      The lower a production in the syntax tree, the higher is its precedence (because it will be evaluated first while parsing)
      He has explained associativity and precedence in perhaps the 3rd or 4th video of the playlist

  • @maheshrnair9776
    @maheshrnair9776 8 лет назад

    thank you

  • @Vandanasharma-zj6up
    @Vandanasharma-zj6up 4 года назад

    It was a very nice explanation, but Sir how do we know that plus is defined at higher level than multiplication , in the last example , please tell me sir

    • @raunakmitra7868
      @raunakmitra7868 4 года назад

      + is introduced LATER in the parse tree, whereas * is introduced in the very beginning of the tree, right? Got me? Assuming that you have prior knowledge of Binary Trees, observe how you CAN NOT introduce * AFTER you've introduced + in the parse tree.

  • @surajkashyap8575
    @surajkashyap8575 6 лет назад

    Sir please three address code explain kijiye...and code optimization ang code generation

  • @RabiaDaud_95
    @RabiaDaud_95 7 лет назад

    how can I know about how to find precedence I cannot be understand this please tell me soon tomorrow I have exam

  • @kunaljaiswal7119
    @kunaljaiswal7119 5 лет назад

    3:07 top down left to right

  • @iamnaran
    @iamnaran 7 лет назад

    Great ! :)

  • @fakhirali7224
    @fakhirali7224 3 года назад

    Many compilers will be in use after 3 years so make them

  • @junaidnasirkhan
    @junaidnasirkhan 5 лет назад +2

    Don't find any difference in top down and bottom up parsing.....

  • @subhadeeproy6147
    @subhadeeproy6147 7 лет назад

    How can you infer the level of precedence of # and &? I am talking about the last example.

  • @aayush5474
    @aayush5474 4 года назад +1

    Did he confuse @ with ampersand &?

  • @priyapitchai139
    @priyapitchai139 4 года назад

    How to generate Semantic rules....sir?

  • @devrajkundan9587
    @devrajkundan9587 8 лет назад

    @@@@@@VVI
    Sir , You have constructed the parse tree for Top Down SDT without removing the Left Recusion.& we have seen that Top Down parser does not support Left Recusion.........plz sir can u make clear.....I shall be obliged for this.

  • @shikhagwalbans8788
    @shikhagwalbans8788 7 лет назад +1

    in the xample where i/p string is w is equal to 4-2-4*2.. here dere r 2 values for F which are 2,4 den in the parsing tree at the bottom u wrote 4,2,4 ..how's it ..plzz explain..else everything iz clear

    • @ivarledgis2975
      @ivarledgis2975 6 лет назад

      u write the value with respect to the string u need to generate .. here we need 4-2-4*2 so first value of F will be 4 and second one will be 2 , third one will be 4 and last one will be 2 .

  • @irfanbasar6950
    @irfanbasar6950 9 лет назад

    sir please upload how to draw dag videos

  • @DeepakMauryaLucknow
    @DeepakMauryaLucknow 5 лет назад

    what is the scope of engnrng...

  • @vsanthosh4625
    @vsanthosh4625 8 лет назад

    What is Right Associative? and Why did minus get more precedence than * in the last example?

    • @nailcb
      @nailcb 8 лет назад +1

      E -> E + T is right associative and E -> T + E is leftassociated. And the minus is because of the decleration of the grammar rules (just have a look At the parse tree, you have to calculate First the - to get the T in the E -> E * T)

    • @vsanthosh4625
      @vsanthosh4625 8 лет назад

      E-> E+T is right RECURSIVE RIGHT??

    • @hasmituchil5214
      @hasmituchil5214 8 лет назад

      Vidyadharani Santhosh Noo... E->E+T is left recursive, hence + is left associative.

    • @ravikumargorle3617
      @ravikumargorle3617 8 лет назад

      Its left recursion

  • @VishakhRanjan
    @VishakhRanjan 8 лет назад +51

    Maine engineering kyon li?

  • @yogendrauikey
    @yogendrauikey 9 лет назад

    good bro.......... good work

  • @arghachakraborty7088
    @arghachakraborty7088 6 лет назад

    17:52
    The grammar is ambiguous and thus we have more than one parse tree, and hence a different output.
    Parsers don't work on ambiguous grammar, do they?

    • @behindthescene4406
      @behindthescene4406 5 лет назад

      Argha Chakraborty no they don't work for ambiguous grammar

  • @ferrentinoamedeo
    @ferrentinoamedeo 8 лет назад

    how can i implement this in a programming language?

  • @jelvinshow7508
    @jelvinshow7508 9 лет назад

    symbol & is not called at the rate, it is ampersand.

    • @GopalYadavgplus
      @GopalYadavgplus 9 лет назад +2

      Jelvin Show Didn't you watched the complete video. Damn ignorant people.

  • @flaviaawan6297
    @flaviaawan6297 7 лет назад +1

    CFG+Semantic Rules= SDD or SDT?

    • @uppinderchugh2215
      @uppinderchugh2215 7 лет назад

      SDD has either printing or evaluating an attritube. SDT has both

  • @Karansing_Rajput
    @Karansing_Rajput 8 лет назад +1

    Sir can you please draw that parse tree of 2#3&5#6&4 coz it is not coming

    • @abhishekpatil7266
      @abhishekpatil7266 8 лет назад +3

      LOL....no parse tree come by itself You have to draw it by yourself....

    • @Karansing_Rajput
      @Karansing_Rajput 8 лет назад +1

      PUNIT PATEL arey in that video he gave one grammar and told to draw a parse tree see video

    • @HIMANSHUSINGHBCE
      @HIMANSHUSINGHBCE 8 лет назад +1

      # *
      / \
      * +
      / \ / \
      2 + 6 4
      / \
      3 5

  • @tppt3987
    @tppt3987 5 лет назад +2

    RUclips needs a 3x feature!!

  • @neelimasaibuddana8739
    @neelimasaibuddana8739 6 лет назад

    can you plz upload three address code vedios

  • @tejaswikhandavalli9215
    @tejaswikhandavalli9215 5 лет назад

    Didn’t understand the last sum sir?

  • @josyulaabhishek7918
    @josyulaabhishek7918 6 лет назад

    Is sdt and sdd are same?