
7 Mar
2011
7 Mar
'11
11:45 p.m.
is there any way to detect at runtime or compile time whether Boost.Spirit needs backtracking? It would be nice to be alerted to the fact that the grammar is not LL(1) and thus has potential for optimization.
Spirit.Qi backtracks only when using alternatives. That's easy enough to spot by looking at the granmmar. Regards Hartmut --------------- http://boost-spirit.com