Skip to content
Sections
>> Ubuntu >> 软件包 >> hardy >> devel >> flex
dapper  ] [  hardy  ] [  intrepid  ] [  jaunty  ] [  karmic  ] [  lucid  ]
[ 源代码: flex  ]

软件包: flex (2.5.34-2.1)

flex 的相关链接

Ubuntu 的资源:

下载源码包 flex:

维护者:

Please consider filing a bug or asking a question via Launchpad before contacting the maintainer directly.

Original Maintainer (usually from Debian):

  • Manoj Srivastava

It should generally not be necessary for users to contact the original maintainer.

相似软件包:

一个快速词汇分析程序生成器

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.

The behaviour of Flex has undergone a major change since version 2.5.4a. Flex scanners are now reentrant, and it is now possible to have multiple scanners in the same program with differing sets of defaults, and the scanners play nicer with modern C and C++ compilers. The Flip side is that Flex no longer conforms to the POSIX lex behaviour, and the scanners require conforming implementations when flex is used in ANSI C mode. The package flex-old provides the older behaviour.

其它与 flex 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: libc6 (>= 2.7-1)
    GNU C 语言运行库:共享库
    同时作为一个虚包由这些包填实: libc6-udeb
  • dep: m4
    一种宏处理语言
  • sug: bison
    和 YACC 兼容的语法解析程序生成器

下载 flex

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 249.6 kB980 kB [文件列表]
i386 233.7 kB948 kB [文件列表]