Boost logo

Boost :

Subject: Re: [boost] [spirit] alert when backtracking?
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2011-03-07 18:45:09


> 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


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk