CMU Artificial Intelligence Repository
FLEX: Fast Lexical Analyzer Generator
Fles is a tool for generating programs which recognize lexical
patterns in text. Flex reads the given input files for a description
of a scanner to generate. The description is in the form of pairs of
regular expressions and C code - these are called rules. Flex
generates as output a C source file, lex.yy.c, which defines a routine
yylex(). This file is compiled and linked with the library to produce
an executable. When the executable is run, it analyzes its input for
occurrences of the regular expressions. Whenever it finds one, it
executes the corresponding C code.
Copying: Copyright (c) 1990 The Regents of the University of California.
Use, copying, modification, and distribution permitted.
(See the copying.txt file for details.)
CD-ROM: Prime Time Freeware for AI, Issue 1-1
Author(s): Vern Paxson
Lawrence Berkeley Laboratory
1 Cyclotron Rd.
Berkeley, CA 94720
Authors!Paxson, C!Code, FLEX, Lexical Analyzer Generator,
Last Web update on Mon Feb 13 10:26:48 1995