Lex

Terms from Artificial Intelligence: humans at the heart of algorithms

Page numbers are for draft copy at present; they will be replaced with correct numbers when final book is formatted. Chapter numbers are correct and will not change now.

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 Chap. 5: page 103