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.
得到了一个必须转换为的简单语法,LL(1)我尝试了许多解决方案,但删除了左递归,但它不会产生相同的语法。
LL(1)
语法是这样的:
X -> E $ E -> E E o E -> n
知道我怎样才能把这个右递归吗?有没有通用的算法?