$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Hartmut Kaiser (hartmut.kaiser_at_[hidden])
Date: 2008-05-05 18:23:37
> has anybody tried to integrate boost::spirit with a lexer generated by
> Flex?
> I'm having:
>
> int yylex (boost::any &yylval);
>
>
> The boost::any may be changed later into boost::variant.
> Any tips would be helpful.
> Any experiences how fast such a parser is running?
You can use the multi_pass iterator in the Spirit library for encapsulating
a flex based lexer.
Regards Hartmut