| 1 |
Document: flex-doc |
| 2 |
Title: flex |
| 3 |
Author: various |
| 4 |
Abstract: Fast LEXical analyzer generator |
| 5 |
Flex is a tool for generating programs that perform pattern-matching on |
| 6 |
text. It generates "scanners": programs which recognized lexical |
| 7 |
patterns in text. `flex' reads the given input files, or its |
| 8 |
standard input if no file names are given, for a description of a |
| 9 |
scanner to generate. The description is in the form of pairs of |
| 10 |
regular expressions and C code, called "rules". `flex' generates as |
| 11 |
output a C source file, `lex.yy.c', which defines a routine |
| 12 |
`yylex()'. This file is compiled and linked with the `-lfl' library |
| 13 |
to produce an executable. When the executable is run, it analyzes |
| 14 |
its input for occurrences of the regular expressions. Whenever it |
| 15 |
finds one, it executes the corresponding C code. |
| 16 |
Section: Programming |
| 17 |
|
| 18 |
Format: HTML |
| 19 |
Index: /usr/share/doc/flex-doc/html/index.html |
| 20 |
Files: /usr/share/doc/flex-doc/html/*.html |
| 21 |
|
| 22 |
Format: PDF |
| 23 |
Files: /usr/share/doc/flex-doc/flex.pdf.gz |