|
Boost Users : |
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net