- #1
evinda
Gold Member
MHB
- 3,836
- 0
Hello! (Blush)
I have a context-free grammar,that I want to convert in a deterministic one.
This is the context-free grammar:
I -> cdaX|cdbY, X-> XXX |d , Y -> I | X
That's what I have tried:
I -> cdK , K ->aX | bY
X -> dM, M -> d M |N, N-> dN | ∅
Y ->cdK| dM
Is it right? Or have I done something wrong? (Thinking)
I have a context-free grammar,that I want to convert in a deterministic one.
This is the context-free grammar:
I -> cdaX|cdbY, X-> XXX |d , Y -> I | X
That's what I have tried:
I -> cdK , K ->aX | bY
X -> dM, M -> d M |N, N-> dN | ∅
Y ->cdK| dM
Is it right? Or have I done something wrong? (Thinking)
Last edited: