So a weekend toy project.
Hand-coded parser-lexers are far more powerful because their diagnostics are useful and are much easier to maintain.
Lex/yacc / flex/bison products by contrast have awful diagnostics and become steaming piles of confusion that have to be rewritten.