Комментарии 4
What advantages of using Flex in comparison with ANTLR?
ANTLR is a parser generator, Flex, as well as Lex, is a lexer generator, they can be used together.
ANTLR is a lexer generator too, see Lexer Rules. Also, ANTLR can handle context free lexer constructions that are used for nested comments.
Зарегистрируйтесь на Хабре, чтобы оставить комментарий
Using Flex (Fast Lexical Analyzer Generator)