Hi, this library is nice! Good work! Though it has many advanced C++ template code which is a bit hard for me.
Back to my question, I mean in my application, I have my own lexer(mainly the C-preprocessor) implemented myself, so my question is: can the library support parsing rules for custom lexer.
For example, the lexer has some kinds of std::vector<Token> supplied, the Token class may have definition like:
class Token
{
TokenKind kind;
std::string lexeme;
}
So, I would like this library to parse the Token stream not the char stream.
Any suggestions?
Thanks.