CmdID

CmdID / Commands

lex

Lexical analyzer generator. tldr-pages

On Linux

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

Several platforms

from tldr-pages, CC BY 4.0

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.lIdentify

Specify the output file

lex -t analyzer.l >analyzer.cIdentify

Compile a C file generated by Lex

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

This command is an alias of flex.