RE to DFA by direct method(Compiler Design) Example 1

preview_player
Показать описание
RE to DFA by direct method(Compiler Design), Regular Expression to DFA by computing Nullable, Firstpos, Lastpos and Followpos functions. Here we are converting Regular Expression to DFA by direct method. We generate syntax tree for Firstpos, Lastpos, then we compute followpos using algorithm. Using followpos we design DFA, for this you can refer book "Compilers" by Aho, Lam, Ullman, Sethi.
Рекомендации по теме
Комментарии
Автор

really very well explained. Better than IIT Kharagpur's professors.

surajkumar-cvxb
Автор

This is gold. Best video on RE to DFA direct conversion.

rupaktiwari
Автор

you explained better than most of the youtubers but hesitating so much as a first timer knowing rules I had to repeat, if possible please retake this video explaining rules, btw thanks for the explanation.

shristisisodiya
Автор

very calm easy and clear explanation. Best video I found on this topic so far. Thank you so much mam

salmansamikhan
Автор

In second example {1, 2, 3, 5} is not showing transition for c, then how can we call it a dfa? Is there something that i dont know ?

anaskhan
Автор

Thanks mam, understood better than our class lecture

abhijeetbatra
Автор

In * node 3 and 4 we are adding the last pos in 1 pos
But you add 3 in 4 its wrong.

malikkhan
Автор

How's the second example a dfa when there are no transitions on c input from so many states??

padmalochanmaiti
Автор

Slow, easy and understandable!! Thank u mam👌

srivenkatanathann
Автор

really well explained, thanks a lot
But for the last example shouldn't we be considering a dead state? As some of the states doesn't have transitions to some inputs so the answer is not a complete DFA

vishwaknama
Автор

it's really understandable! thank you mam

RubelTube
Автор

Please answer the questions
Convert regular expressions to dfa directly (a|ab) ^*bb(a|b) ^*

bahraebrahimkhalid
Автор

How you created diagram please explain

kalgikansara
Автор

mam you saved me, , , video was so guddd, thankyou!!!

sharanpreetkaur
Автор

I have come up with an algorithm that is much much much faster than this. No graph creation necessary. Everything can be done with a binary tree.

JayDee-bu
Автор

I'm getting confused after 16:50, please help.

shlokgandhi
Автор

In second example I think it should be {1, 2, 3 } not {1, 2, 3, 5}

kaushalniroula
Автор

Ma'am how to draw Tree for (a/b)*ab*

PREETHAM-mp
Автор

thank you mam it helped me understand this concept

aksharkottuvada
Автор

Mam is it good to do it as same as in formal language automata theory (flat) our lecturer said you can do it can anybody plz help with this question

Lakshmi_Krishna