CmdID

CmdID / Commands

flex

Lexical analyzer generator. tldr-pages

On Linux

Opens CmdID with your command. It is read in your browser and sent nowhere.

Lexical analyzer generator. Given the specification for a lexical analyzer, generates C code implementing it.

Generate an analyzer from a Lex file, storing it to the file lex.yy.c

flex analyzer.lIdentify

Write analyzer to stdout

flex --stdout analyzer.lIdentify

Specify the output file

flex analyzer.l --outfile analyzer.cIdentify

Generate a batch scanner instead of an interactive scanner

flex --batch analyzer.lIdentify

Compile a C file generated by Lex

cc path/to/lex.yy.c -o executableIdentify