lex
Lexical analyzer generator. tldr-pages
On Linux
Several platforms
Lexical analyzer generator. Given the specification for a lexical analyzer, generates C code implementing it. Note: On most major OSes, this command is an alias for flex.
Generate an analyzer from a Lex file, storing it to the file lex.yy.c
lex analyzer.lIdentifySpecify the output file
lex -t analyzer.l >analyzer.cIdentifyCompile a C file generated by Lex
c99 path/to/lex.yy.c -o executableIdentifyLinux
This command is an alias of flex.