Below, is a simple example for counting words, lines and characters by using a Flex lexer.

Continue reading