flex (spack): Flex is a tool for generating scanners. 
Keywords: c|flex|lexer|lexer-generator