"Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= wrote: > try ANTLR which generate LL(*) parsers Yes. Antlr generates an ALL(*)-parser with around 3000 states after eliminating some left-recursion from the grammar. But runtime is O(n^4) for this type of parsers. -manfred