Monthly Archives: June 2010

Resolve ambiguities in antlr v3

When there is ambiguities in writing antlr grammar, there are different ways to solve it. 1. Simply avoid them. This is the ideal way when it’s possible. 2. Turn on backtracking, which is most inefficient way. 3. Use left factoring. … Continue reading

Posted in antlr | Leave a comment