News for hackers. Stuff that matters.
Re:Re2c: A free and open-source lexer generator for C and C++ by chubot on Friday March 01, 2019 @03:58PM (#19285194)
update: Also re2c gives you "semantic actions" like Ragel or yacc, which is better IMO. Not sure if lex/flex does that. I think it has a hard-coded notion of tokens.
Re:Re2c: A free and open-source lexer generator for C and C++ by saurik on Friday March 01, 2019 @06:56PM (#19286461)
lex/flex definitely supports semantic actions and definitely does not have a hardcoded notion of tokens.