$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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