
5 May
2008
5 May
'08
10:23 p.m.
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