Ambiguous to Unambiguous Grammar | Compiler Design

Поділитися
Вставка
  • Опубліковано 1 лют 2025

КОМЕНТАРІ • 47

  • @dippatel1847
    @dippatel1847 2 роки тому +44

    Sir you are teaching so nice ❤️ that we can understand even in 1.75x speed and in first try itself.
    Really helpful for college students during exams.
    God bless you sir . Keep teaching keep growing sir

  • @ayushjaiswal6317
    @ayushjaiswal6317 2 роки тому +185

    I never comment but ......Gate Smasher is overrated .The Gatehub is underrated. You deserve a million subscriber sir .

    • @sinanmohammadnahian4768
      @sinanmohammadnahian4768 Рік тому +62

      Lol. If you praise then praise. But don't put others down

    • @kamleshsinghbisht130
      @kamleshsinghbisht130 Рік тому +15

      @@sinanmohammadnahian4768 but it's truth in terms of Compiler Design at least.

    • @DaljeetSingh-vv2tk
      @DaljeetSingh-vv2tk Рік тому +5

      true, deserves more subscribers

    • @RupeshMishra-r7h
      @RupeshMishra-r7h 6 місяців тому

      It is up to us , Viewers ,we should like , share and Comment so much that Algorithm will push this video as much possible.

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

      So why belittling others?​@@kamleshsinghbisht130

  • @TheonlyKT1225
    @TheonlyKT1225 Рік тому +9

    I have never seen a Sir cover so muvh and so precisely. You are God for us Sir!!

  • @doeydever7124
    @doeydever7124 3 роки тому +11

    You are truly an amazing teacher. Take ❤️ 🙂

  • @vinaygurjar9771
    @vinaygurjar9771 2 роки тому +6

    best explanation so far...Thank you very much bhaiya..

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

    Hats off to you sir ....🛐

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

    Very simple and easy explanation I can't explain in words

  • @PointofUncertainty
    @PointofUncertainty 2 місяці тому

    THE G.O.A.T 🐐🛐

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

    So insightful man ,next level

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

    Great explanation. Thanks! 😀

  • @lakshyadalal8296
    @lakshyadalal8296 2 місяці тому

    9:13 left n right recursion

  • @bharatlondhe9995
    @bharatlondhe9995 2 місяці тому

    ❤❤❤

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

    Underrated!!!

  • @amanmaurya7646
    @amanmaurya7646 11 місяців тому +1

    sir skkiped what is unambiguous tree

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

    good example

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

    Thank u sir🙏

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

    Nice Explanation ❤️❤️

  • @13manveersingh
    @13manveersingh Рік тому +1

    Bhaiya koi baat ni sb theek ho jayega

  • @damnengineering26
    @damnengineering26 2 місяці тому

    How to include - and / ?

  • @noornawaz7147
    @noornawaz7147 2 роки тому +7

    Sir Please Make a video on some another grammar / production and convert them into unambiguous
    like:
    S → AB | aaB
    A → a | Aa
    B → b
    and
    S → ABA
    A → aA | ε
    B → bB | ε

    • @musicmysoul6060
      @musicmysoul6060 11 місяців тому

      You got video for that?? I also have same questions this sem

    • @noornawaz7147
      @noornawaz7147 11 місяців тому

      @@musicmysoul6060 no

    • @musicmysoul6060
      @musicmysoul6060 11 місяців тому

      @@noornawaz7147 shit

  • @kumarabhishek3890
    @kumarabhishek3890 2 місяці тому

    from 14

  • @ahmadtashfeen94
    @ahmadtashfeen94 10 місяців тому

    Shera love you hogaya

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

    great

  • @reeshavacharya
    @reeshavacharya 3 роки тому +11

    7:30 LMAOOO

  • @SantoshKumar-lz2ti
    @SantoshKumar-lz2ti Рік тому +1

    Doubt :- I think for a string we can one left parse tree and one right parse tree, if more than one tree for left or right..then it is ambiguous..am I correct?

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

      okay i will clear ur doubt -> if a grammar is unambiguous then the structure of right most derivation parse tree and left most derivation parse tree will always same, so in unambiguous grammar we will not get more than on parse tree for a string because structure of Lmd parse tree and rmd parse tree will be always same
      If a grammar is ambiguous then the structure of lmd parse tree and rmd parse tree will be always be different for a string.
      and it is also possible that more than one lmd parse trees or rmd parse trees have different structure in ambigous grammar.

    • @SluciferKm
      @SluciferKm 3 місяці тому

      If we generate more than one parse tree for a particular string with given grammar then there is ambiguity in the grammar 👍🏼

  • @KHURRAMSHAHZAD-jl5qi
    @KHURRAMSHAHZAD-jl5qi Рік тому +3

    areee bhai koi aur bhi krlo ezample same sbhi krte ho

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

    jhatiya ni smjh aaya

  • @revived_aura9185
    @revived_aura9185 17 днів тому

    Sorry but it was not helpful

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

    bllkul smjh ni ai

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

    Ok