Lec-19: How to Evaluate Arithmetic Expression using SDT | Syntax Directed Translation Example
Vložit
- čas přidán 11. 06. 2024
- 👉Subscribe to our new channel: / @varunainashots
0:00 - Introduction
1:05 - Example using Bottom up
►Top Down & Bottom Up Parsing of SDT: • Lec-18: How to Parse S...
► Compiler Design(Complete Playlist):
• Compiler Design (Compl...
Other subject-wise playlist Links:
--------------------------------------------------------------------------------------------------------------------------------------
►Design and Analysis of algorithms (DAA):
• Design and Analysis of...
►Database Management System:
• DBMS (Database Managem...
► Software Engineering:
• Software Engineering
►Artificial Intelligence:
• Artificial Intelligenc...
►Computer Networks:
• Computer Networks (Com...
►Operating System:
• Operating System (Comp...
►Structured Query Language (SQL):
• Structured Query Langu...
►Discrete Mathematics:
• Discrete Mathematics
►Number System :
• Number system
►Theory of Computation :
• TOC(Theory of Computat...
►Cloud Computing & BIG Data:
• Cloud Computing & BIG ...
►Programming in C :
• C Programming
►Data Structure:
• Data Structure
►Computer Architecture :
• Computer Organization ...
►Graph Theory (Complete Playlist):
• Graph Theory
►Digital Logic:
• Digital Logic (Complet...
---------------------------------------------------------------------------------------------------------------------------------------
Our social media Links:
► Subscribe to us on CZcams: / gatesmashers
►Subscribe to our new channel: / @varunainashots
► Like our page on Facebook: / gatesmashers
► Follow us on Instagram: / gate.smashers
► Follow us on Instagram: / varunainashots
► Follow us on Telegram: t.me/gatesmashersofficial
► Follow us on Threads: www.threads.net/@gate.smashers
--------------------------------------------------------------------------------------------------------------------------------------
►For Any Query, Suggestion or notes contribution:
Email us at: gatesmashers2018@gmail.com
No other teacher can match Sir.....in terms of teaching....!🔥🔥🔥
Small mistake in the right side of tree where T - num - 7 it must be T - F - num - 7
Thank you brother ❤️
Exactly i am going to do that comment but I found that.
Koi nai answer same hi he
i was gonna say the same.
ye to common hai, aise jayega sabko pata hai usne just step jump kiya hai
trust me , our teachers teach us after learning from you
Thanks a lot sir really explained very well...
To much informative lecture THANK YOU SO MUCH SIR
No words for praise you sir ......🙏🙏🙏🙏🙏🙏
Thank u so much sir 💗😎🙏
Thank you sir for excellent explanation
Thank you sir ❤️❤️❤️.... May GOD BLESS YOU SIR 🙏🙏🙏🙏❤️❤️❤️...
Sir you are the cheat code to crack competitive exams
Thnku sir......
Thanks sir 👍
ji vai!! got the point. crystal clear, thank you
brillant teacher sir ji
Although we pay the university. But the truth is that there is no university in the world greater than CZcams. Because you are on CZcams.
Thank you so much sir your teaching method is very easy may Allah pak bless you alot of success
thanks sir bht acha baty h.
scientific assistance A post ke liye TOC subject syllabus me hai ya nahi ? plz bataye.
So, finally i got a one stop solution of my compiler design examination.
Firstly, due to this pandemic, neither we could avail the books nor there were proper video lectures available on youtube to help me out in this subject.
One of my friend suggested me this channel and surprisingly, watching the first video of this video series, made me realize that its going to be enough for my complete subject.
The way this teacher has explained the concepts, his clear understanding as well as the clear vocalization of the subject had a huge impact.
No doubt, this is the best of the series, i have ever watched in terms of Engineering subjects.
No words to express my gratitude. Students like me who love to reach in depth of a subject, you have given a one stop solution. I cannot stop ravishing and thanking you "SIR"🤩. God bless😇
I've seen this same comment in multiple videos of his
Thank you so much 😍
TYSM!!!!
Sir, please complete COMPILER DESIGN SERIES
Thanks.
Yes Sir I am getting the Point
amazing
Best teacher
U r great sir
Sir vdo dekhne se phle hi like or comment krhi hu bcz aap bhaut bhaut accha pdhte ho thnku sir
scientific assistance A post ke liye TOC subject syllabus me hai ya nahi ? plz bataye.
@@mylifemymemories6858 no
@@abhilasharashiyan7660 but i reffer previous year question paper there is some questions of toc.
Super Excellent Sir g.........Love and Respect from Pakistan.........
Getting the point 🙏
Yes 🤣
chaa gaye sir jiii🤘🤘🤘🤘🤘🤘
U thought very well will do with full procedure but I can check my solution with trick
we have to write the steps in exam? or like you did means we traverse the expression? If I use the short technique for my exam will i get full marks for that o i have to do the same you did
Sir semantic rule Jo hai hme khud likhna hoga Kya ya question me hoga AGR hme khud likhna hai to hme kse PTA hoga ki @/& ke place pr * ...hai ya Ni plz answer
Nice shortcut.... Superb!!! :)
wo sir ne wanha pe + ko * likh diya samjha do thoda
Sir why we further expand E
Thankyou sir 🙏
Thank u sir❤❤
Thanks!
Thank u so much sir
thank you sir
I am in 5th sem and...i can easily get this next sem subject ☺️
But I have compiler
🥰🥰🥰👌👌🙏🙏🙏
Hi sir, if we apply this bottom up method or short trick on lecture 17 question (5#3&4) then answer will be 35 but your answer is 19 there......pls clarify which answer will be correct one?
Exactly I was also going through this doubt
Sir plz operating system ka ek revision video bana do plz!!
can anybody explain which rules to take first while making tree is there any rule or we have to make tree according to the input string then how to decide ?
Same question
see the given input or i should say the "Operators" , see , first use the top or first rule that is 'E=E&T' then after that the first operator that comes in input is '&' so use the rule that has an '&' in it after that on the right side of '&' we have 'T' here, make that T produce an '@' sign using the rule that contains @ in it because the second operator is '@' in the input, now on the left of secound rule we used with & in it , it has a 'E' , make that E produce a number since the given input contains a number in it on the first place and similarly on the right side do the same.......if you got this hint , i guess you know now how to do it.... i'm sorry but i guess i can make u understand better only if you were right here in front of me.
A bottom up approach helps. Reducing into variables from terminals seemed easier while forming the parse tree.
why you extend that E again by E & T (2nd step) when you were making that tree? can someone explain me?
Thnkew u r our sahara🥲😩🌸
Sir isme joh right side m T@F likha hai n usme joh further T ko likha hai phele F aayega and then num
Man's out here saving grades like superman
thank u
I have one question sir @ki value + kre toh yaha -hi kyo kia
Sir ap ny tree bohat acha explain kiya hai
Thanks
You are a best sir
sir aap acha pdha lete ho
Thnksu 😭💕
Miss u
Small Mistake In The Right Hand Side Of Tree Where T - num - 7 It Must Be T - F - num - 7
I am sem-3 student please put videos in cursor topic.
Without practice not remember 100% solution 🥺
3:03 Small mistake in the right side of tree where T - num - 7 it must be T - F - num - 7
Sir E And T ko 2 baar Expand Quon kiyen??
Hello thanks for the lectures .. Is this the complete course for GATE compiler ? Last three phases need to be covered or this much is enough ?
CD is of only 4 marks in gate, so I believe this would be enough. Although you should research yourself as well to make sure it is enough.
Nope
Sir I guess it should be T - F - num - 7 there?
At 3:06 sir how did u put "T -- num" directly?? Shouldn't it be " T -- F -- num"?
right my question is also same
my question is also same , no difference.
by mistake
He did it by mistake but also when you will put T->F->num ulitmately T will be assigned the same value
why expand E in 2nd term sir
because there are two '&' operators in the input, so you have to somehow make two '&' in the parse tree. Simililarly for '@'
It means we’ve to expand the tree as much as we have these terminals !
what about operator +
why E is used 2 times in left side?
hello sir i am confused by one thing is syntax directed definition (SDD) and syntax directed translation (SDT) same things?
yes
68 th view
No I don't believe in best teachers BUT teri nazaro ne dil ka kiya jo hashar....
3:56 AM
Sir is hisaab se pichli video mai jo aapne 19 answer nikala hai uska ans 35 hona chaheye....
bro you say parsing tak hard questions hain.
le me: ap say samjny k bad.....ya b koi hard thy😁😁
Agar WO last wala part phele batate to acha hota 😅
asli dimag to input to dekh ke parse tree banane mai hi hai.
2:08 vaha E gives T aayega na phirse E &T kaise
T -> F -> num -> 7 (minor mistake but still)
Result = (a - b) + (c / d) + 5 ?
No query just want a accepting heart from you
There is a mistake i noticeed at 3.27 T directly reudced to num which is not possible , first it reduce to F and then num
yeaa
Why he wrote e&t twice in parse tree
Same question
short trick is 10 seconds (:
aap koi service join kyun nhii kar lete 🙂
Tree kaise banaya ye to batao bhai
Bhai any kind of parsing method you can use which are throught in previous lecture
Like LR,SLR,CLR OR LL(1)
For small input you can even visualize it simply without using any parse table or method
But this grammar is left recursive
gazab log hai yar ye 5 log jinhone dislike kiya, kam se kam kisi ke affects ki respect karna chahiye, guru ko dislike or katrina ki bikini wali pic per like hi like waaah re mere vatan ke logo jara aaankh me bhar lo pani hahahahah .......
Thank you sir