Top Down Parsers - LL(1) Parsers

  Рет қаралды 104,166

Neso Academy

Neso Academy

Күн бұрын

Compiler Design: Top Down Parsers - LL(1) Parsers
Topics discussed:
1. Understanding the significance of the name of Recursive Descent Parsers.
2. Organization of the LL(1) Parsers.
3. Why LL(1) Parsers are called LL(1) Parsers?
4. Understanding the concepts of FIRST() and FOLLOW() with examples.
Follow Neso Academy on Instagram: @nesoacademy (bit.ly/2XP63OE)
Contribute: www.nesoacadem...
Memberships: bit.ly/2U7YSPI
Books: www.nesoacadem...
Website ► www.nesoacadem...
Forum ► forum.nesoacad...
Facebook ► goo.gl/Nt0PmB
Twitter ► / nesoacademy
Music:
Axol x Alex Skrindo - You [NCS Release]
#CompilerDesignByNeso #CompilerDesign #Parsers #LL1Parsers

Пікірлер: 15
@doniakh7482
@doniakh7482 Жыл бұрын
this has helped me more than my 2 hours lecture... thank you so much
@kajalsharma5952
@kajalsharma5952 Жыл бұрын
so beautiful , so elegant just looking like a wow! amazing series .......please complete it before jan my end sems a whole hearted request! 🥺❣
@siddireddyvignesh
@siddireddyvignesh Жыл бұрын
Already completed
@sourabhsharma2511
@sourabhsharma2511 4 ай бұрын
i really loved the way you connect things this is what missing in many youtube videos , thankyou so much
@gatecomputerscience1484
@gatecomputerscience1484 Жыл бұрын
so beautifully explain
@reyy9220
@reyy9220 10 ай бұрын
dude thank you soooo much ur a lifesaver
@dinushachathuranga7657
@dinushachathuranga7657 10 ай бұрын
Thanks for the nice explanation💜
@DoctorAzman-u8j
@DoctorAzman-u8j 25 күн бұрын
Thank you sooooooooooooooooooooooooooooo much.
@nikhilmaid2670
@nikhilmaid2670 Жыл бұрын
are u gonna complete the aptitude and reasoning playlist??
@509nandini7
@509nandini7 Жыл бұрын
Sir here we no need find the FIRST (A) FIRST (B) or We have to do that...?
@putawan8911
@putawan8911 4 ай бұрын
what's the FIRST(A): Is it {a,ε} or {a} ?
@omarzakzook6077
@omarzakzook6077 Жыл бұрын
why in the first(S) w didn't put c ??
@sahil.yadav.106
@sahil.yadav.106 9 ай бұрын
because we can't have a c in the first place when S is substituted the grammar was S -> ABC A -> a | e (think of e as epsilon please) B -> b C -> c now, S is substituted by A A is then substituted by a, which is a terminal So, we can have an `a` at the first position when S is substituted with terminals Hence we put `a` in the set of FIRST(S) i.e. FIRST(S) = {a} Now, A can also be substituted by e(epsilon) In this case, when we move ahead with S -> ABC, after A comes B, and B->b (from the grammar) Since epsilon means null and is not written in the final string of terminals, in this specific case, when S is substituted, it starts with a `b` That means, S can also be substituted by a terminal string which starts with `b`. So we can push `b` in the FIRST(S) FIRST(S) = {a, b} But in no case can there be a terminal string for S which starts with C, cause B will always derive b, and since B comes before C in S, i.e. S -> ABC, S will always have at least a b before c. Hence, there will be no terminal string for S which starts with c, so we don't put c in the FIRST(S)
@tomfotografie5831
@tomfotografie5831 6 ай бұрын
is'nt it? ar'nt we? is'nt so? lol
@tayyabhussain5293
@tayyabhussain5293 4 ай бұрын
You forgot did,t we😁
FIRST() and FOLLOW() Functions
11:53
Neso Academy
Рет қаралды 327 М.
Recursive Descent Parsing
29:02
hhp3
Рет қаралды 75 М.
Try this prank with your friends 😂 @karina-kola
00:18
Andrey Grechka
Рет қаралды 9 МЛН
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Top Down Parsers - Recursive Descent Parsers
20:24
Neso Academy
Рет қаралды 175 М.
Transformers (how LLMs work) explained visually | DL5
27:14
3Blue1Brown
Рет қаралды 4,3 МЛН
LL(1) Parsing
11:35
Neso Academy
Рет қаралды 100 М.
Emulating a CPU in C++ (6502)
52:28
Dave Poo
Рет қаралды 1 МЛН
Сборник Эксклюзивов 2024 - Уральские Пельмени
1:33:24
Уральские Пельмени
Рет қаралды 1,4 МЛН
7 Outside The Box Puzzles
12:16
MindYourDecisions
Рет қаралды 181 М.