Lex

(redirected from Lex (disambiguation))
Also found in: Dictionary, Thesaurus, Legal.

Lex

(tool)
A lexical analyser generator for Unix and its input language. There is a GNU version called flex and a version written in, and outputting, SML/NJ called ML-lex. A version, by David Poole at Montana has been retargeted to Turbo Pascal, ftp://iecc.com/pub/file/lyprg.zip.

["Lex - A Lexical Analyzer Generator", M.E. Lesk, CS TR 39, Bell Labs, Oct 1975].

Lex

(language, specification)
The lexical specification language for COPS.

["Metalanguages of the Compiler Production System COPS", J. Borowiec, in GI Fachgesprach "Compiler-Compiler", ed W. Henhapl, Tech Hochs Darmstadt 1978, pp.122-159].