Steps to Convert CFG to CNF
1. Eliminate lambda productions
2. Eliminate Unit productions
3. Eliminate non-terminating and unreachable productions
step 2 and 3 have been done in the attached code. What is need is to do step 1.
The attached code has comments, please build on top of it.
6 freelancers are bidding on average $162 for this job
Hello! I'd like to help you with this formal grammars related task. It's about analyzing all of the rules that are producing lambda symbol. Those rules should be inlined and simplified afterwards.
Hey dear I just read out your description and i am interested in your project. I am expert in coding, if you need quality work than feel free to contact me Thanks