Flex is a tool for generating scanners: programs which recognized lexical patterns in text. It 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, 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 -lfl 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.
|
|
|
| 硬件架构 | 版本 | 软件包大小 | 安装后大小 | 文件 |
|---|---|---|---|---|
| alpha | 2.5.35-9 | 323.0 kB | 1040 kB | [文件列表] |
| amd64 | 2.5.35-9 | 325.0 kB | 1004 kB | [文件列表] |
| armel | 2.5.35-9 | 318.8 kB | 984 kB | [文件列表] |
| avr32 (非官方移植版) | 2.5.35-9 | 314.3 kB | 956 kB | [文件列表] |
| hppa | 2.5.35-9 | 319.0 kB | 988 kB | [文件列表] |
| hurd-i386 | 2.5.35-9 | 306.8 kB | 972 kB | [文件列表] |
| i386 | 2.5.35-9 | 306.1 kB | 972 kB | [文件列表] |
| ia64 | 2.5.35-9 | 352.9 kB | 1244 kB | [文件列表] |
| kfreebsd-amd64 | 2.5.35-9 | 322.9 kB | 882 kB | [文件列表] |
| kfreebsd-i386 | 2.5.35-9 | 306.8 kB | 846 kB | [文件列表] |
| m68k (非官方移植版) | 2.5.35-7 | 295.7 kB | 964 kB | [文件列表] |
| mips | 2.5.35-9 | 321.7 kB | 1036 kB | [文件列表] |
| mipsel | 2.5.35-9 | 321.1 kB | 1036 kB | [文件列表] |
| powerpc | 2.5.35-9 | 318.7 kB | 996 kB | [文件列表] |
| s390 | 2.5.35-9 | 318.8 kB | 996 kB | [文件列表] |
| sparc | 2.5.35-9 | 316.8 kB | 992 kB | [文件列表] |