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

Поділитися
Вставка
  • Опубліковано 31 жов 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!

  • @NAVAP_IAS
    @NAVAP_IAS 4 роки тому +55

    Anyone still in 2020 watching this..!

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

  • @kdpoint4221
    @kdpoint4221 5 років тому +3

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

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

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

  • @codesmart9044
    @codesmart9044 4 роки тому +6

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

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

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

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

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

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

  • @suvradeepbanerjee6801
    @suvradeepbanerjee6801 10 років тому +7

    Your're a life saver sir !!

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

    Thank you sir excellent teaching

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

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

  • @gousiarafath1118
    @gousiarafath1118 9 років тому +3

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

  • @RK22082
    @RK22082 10 місяців тому +1

    Nice video 😊

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

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

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

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

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

  • @sanjanakabadi7315
    @sanjanakabadi7315 10 років тому +2

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

  • @Dhanalakshmi-qg8ck
    @Dhanalakshmi-qg8ck 4 роки тому +1

    Superb explanation

  • @softy7221
    @softy7221 9 років тому +1

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

  • @omargonalfa
    @omargonalfa 7 років тому +2

    Great tutorial. Thank you !!!!

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

  • @chirayushrestha9737
    @chirayushrestha9737 9 років тому +10

    video is nothing but awesome

  • @saurabhtarkar773
    @saurabhtarkar773 10 років тому +30

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

  • @SreeragNairisawesome
    @SreeragNairisawesome 10 років тому +1

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

  • @sharathchandra6166
    @sharathchandra6166 7 років тому +1

    you helped for my exams thanks :D

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

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

  • @suriyakalal2706
    @suriyakalal2706 8 років тому +1

    Sir u videos are excellent

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

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

  • @saifurrahmanbhuiyan925
    @saifurrahmanbhuiyan925 8 років тому +1

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

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

    Can you please upload SDD and intermediate code generation lectures?

  • @tabassumjahan7343
    @tabassumjahan7343 6 років тому +1

    Thank you so much sir for uploading all videos

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

  • @abhisheksatyam4733
    @abhisheksatyam4733 7 років тому

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

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

    Thank you sooooo muchhhh Sir🙂😊👏👏

  • @vitali450
    @vitali450 8 років тому +1

    thank you! you have been very helpful!!

  • @pralhadgamare3044
    @pralhadgamare3044 6 років тому +1

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

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

    Helped me a lot.

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

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

  • @iansamz
    @iansamz 6 років тому

    You the best Man ....

  • @lalithasrikakullapu4268
    @lalithasrikakullapu4268 6 років тому

    Excellent sir

  • @balaramkantipudi3728
    @balaramkantipudi3728 8 років тому +1

    reduction production action nice one....

  • @flaviaawan6297
    @flaviaawan6297 7 років тому +3

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

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

    Thank u so much sir

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

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

  • @priyakoshta7129
    @priyakoshta7129 9 років тому

    Simply amazing !!!!

  • @poojaroysstudent4365
    @poojaroysstudent4365 6 років тому

    very usefull sir.......

  • @sumangogu
    @sumangogu 10 років тому +2

    Lucid Explanation ,I have not seen yet.

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

    thank you sir

  • @sextolife
    @sextolife 8 років тому

    really great sir

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

    This guy is God.

  • @priyajha2618
    @priyajha2618 9 років тому +1

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

  • @malharjajoo7393
    @malharjajoo7393 8 років тому

    Fantastic.

  • @gayathrijahanmohan4954
    @gayathrijahanmohan4954 7 років тому +3

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

  • @shabihabano6959
    @shabihabano6959 7 років тому +2

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

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

  • @VishakhRanjan
    @VishakhRanjan 8 років тому +51

    Maine engineering kyon li?

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

    Thanks 😊

  • @Jawa_Traveller
    @Jawa_Traveller 6 років тому +1

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

  • @jiyaazeem6444
    @jiyaazeem6444 4 роки тому +4

    sir kindly send me the parse tree of last question.

  • @kishordas7357
    @kishordas7357 7 років тому

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

  • @linachatterjee3968
    @linachatterjee3968 8 років тому +1

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

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

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

    How to generate Semantic rules....sir?

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

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

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

    Whose here from 2019?

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

      Me ! I got CD exams tomorrow :)

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

      @@ShreyaKhirwal had em yesterday xD

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

      @@nelsonchacko2086🆒 how's that !

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

      @@ShreyaKhirwal you meant the exam? Or the schedule?

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

      @@nelsonchacko2086 how was that= exam !

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

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

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

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

  • @iamnaran
    @iamnaran 8 років тому

    Great ! :)

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

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

  • @josyulaabhishek7918
    @josyulaabhishek7918 6 років тому

    Is sdt and sdd are same?

  • @maheshrnair9776
    @maheshrnair9776 8 років тому

    thank you

  • @tabassumjahan7343
    @tabassumjahan7343 6 років тому

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

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

    what is the scope of engnrng...

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

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

    Did he confuse @ with ampersand &?

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

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

  • @subhadeeproy6147
    @subhadeeproy6147 7 років тому

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

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

    UA-cam needs a 3x feature!!

  • @ferrentinoamedeo
    @ferrentinoamedeo 8 років тому

    how can i implement this in a programming language?

  • @irfanbasar6950
    @irfanbasar6950 9 років тому

    sir please upload how to draw dag videos

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

  • @flaviaawan6297
    @flaviaawan6297 7 років тому +1

    CFG+Semantic Rules= SDD or SDT?

    • @uppinderchugh2215
      @uppinderchugh2215 7 років тому

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

  • @yogendrauikey
    @yogendrauikey 9 років тому

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

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

    If there is REDUTION go to the PRODUTION and perform the ACTION.

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

    Vary advanced compiler writing tools were developed in the 1960 whoes parser programming languages are analytical grammars with tree construction operators. The s

  • @neelimasaibuddana8739
    @neelimasaibuddana8739 6 років тому

    can you plz upload three address code vedios

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

    Sir what if the input is 2*3+4

  • @hemanegikhatri6075
    @hemanegikhatri6075 5 років тому +4

    How right minus has highest precedence according grammar???

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

      Since the subtraction grammar is present lower in the production, it occupies the lower part of the syntax tree(imagine the syntax tree) meaning it will get reduced before multiplication thus getting executed before.

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