Lex

Terms from Artificial Intelligence: humans at the heart of algorithms

Lex is a notation and Unix command-line programme to generate lexical analysers. It uses regular expressions to match valid tokens, such as an variable name or number. It is usualy used as a pre-processor before syntax analysis.

Used on page 104