Hi Folks, I developed a minimal complete example that uses a lexer object and a parser object. That is:
static FlexLexer* lexer= ... static yy::parser* parser= ... : ... lexer->yylex() ... : ... parser->parse() ... It's a trivial infix-to-postfix translator, for my Compilers class. The Bison manual doesn't really show how to do it. It took me a while to figure it out. Would you be interested in adding it to the manual? Thanks. -- Jim _______________________________________________ help-bison@gnu.org https://lists.gnu.org/mailman/listinfo/help-bison