Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果有语法:
A -> AA | e
其中 e 是 epsilon (空字符串)有没有办法从这个语法中消除左递归?
如果这是所有语法,那么您当然可以:
A -> e
如果没有,请提供更多你的作业;)