Name
lexi — Lexical analyser tool
Synopsis
lexi
lexi
Description
lexi translates a description of a lexical analyser, input-file, into code implementing that analyser. This is output into the output-file argument, if present, or to standard output otherwise.
Both input-file and output-file may be given as - for standard input and standard output respectivley. These are language-specific (see the -l option), and may represent multiple files.
Lexer specifications for lexi are conventionally named with the extension .lxi, and actions .lct.
See Also
Bugs
lexi currently silently permits several semantically nonsensical but syntactically valid constructs which result in undefined behaviour. These are described in Lexi Users' Guide. It is expected that in future versions of lexi these will produce errors during compilation.