The FreeBSD Ports Archive

Freebsd | Contact
Welcome to FreeBSD Software


FreeBSD textproc : flex

Fast lexical analyzer generator

 Flex is a tool for generating scanners. A scanner, sometimes called a
tokenizer, is a program which recognizes lexical patterns in text. The
flex program reads user-specified input files, or its standard input
if no file names are given, 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 a C source file named, "lex.yy.c",
which defines the function yylex(). The file "lex.yy.c" can be compiled
and linked to produce an executable. When the executable is run, it
analyzes its input for occurrences of text matching the regular
expressions for each rule. Whenever it finds a match, it executes the
corresponding C code. 

http://flex.sourceforge.net/



flex history


v. 1.3
date: 2007/12/13 09:22:29;  author: sat;  state: Exp;  lines: +2 -3
- Update to 2.5.34

v. 1.2 date: 2007/10/17 10:12:57; author: ade; state: Exp; lines: +3 -2 Migration from bison 1.x to 2.x PR: 117086 Tested by: -exp runs
v. 1.1 date: 2006/08/13 15:30:22; author: sat; state: Exp; Add port textproc/flex: Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text. The flex program reads user-specified input files, or its standard input if no file names are given, 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 a C source file named, "lex.yy.c", which defines the function yylex(). The file "lex.yy.c" can be compiled and linked to produce an executable. When the executable is run, it analyzes its input for occurrences of text matching the regular expressions for each rule. Whenever it finds a match, it executes the corresponding C code. WWW: http://flex.sourceforge.net/ Note that there's flex 2.5.4 in the base system. This port provides a newer version for programs that require it, textproc/xxdiff for one. ============================================================================= v. 1.3 date: 2007/12/13 09:22:29; author: sat; state: Exp; lines: +2 -3 - Update to 2.5.34
v. 1.2 date: 2007/10/17 10:12:57; author: ade; state: Exp; lines: +3 -2 Migration from bison 1.x to 2.x PR: 117086 Tested by: -exp runs
v. 1.1 date: 2006/08/13 15:30:22; author: sat; state: Exp; Add port textproc/flex: Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text. The flex program reads user-specified input files, or its standard input if no file names are given, 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 a C source file named, "lex.yy.c", which defines the function yylex(). The file "lex.yy.c" can be compiled and linked to produce an executable. When the executable is run, it analyzes its input for occurrences of text matching the regular expressions for each rule. Whenever it finds a match, it executes the corresponding C code. WWW: http://flex.sourceforge.net/ Note that there's flex 2.5.4 in the base system. This port provides a newer version for programs that require it, textproc/xxdiff for one. ============================================================================= v. 1.3 date: 2007/12/13 09:22:29; author: sat; state: Exp; lines: +2 -3 - Update to 2.5.34
v. 1.2 date: 2007/10/17 10:12:57; author: ade; state: Exp; lines: +3 -2 Migration from bison 1.x to 2.x PR: 117086 Tested by: -exp runs
v. 1.1 date: 2006/08/13 15:30:22; author: sat; state: Exp; Add port textproc/flex: Flex is a tool for generating scanners. A scanner, sometimes called a tokenizer, is a program which recognizes lexical patterns in text. The flex program reads user-specified input files, or its standard input if no file names are given, 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 a C source file named, "lex.yy.c", which defines the function yylex(). The file "lex.yy.c" can be compiled and linked to produce an executable. When the executable is run, it analyzes its input for occurrences of text matching the regular expressions for each rule. Whenever it finds a match, it executes the corresponding C code. WWW: http://flex.sourceforge.net/ Note that there's flex 2.5.4 in the base system. This port provides a newer version for programs that require it, textproc/xxdiff for one. =============================================================================



Main menu

FreeBSD

Program categories

Freebsd accessibility
Freebsd archivers
Freebsd astro
Freebsd audio
Freebsd benchmarks
Freebsd biology
Freebsd cad
Freebsd chinese
Freebsd comms
Freebsd converters
Freebsd databases
Freebsd deskutils
Freebsd devel
Freebsd dns
Freebsd editors
Freebsd emulators
Freebsd finance
Freebsd french
Freebsd ftp
Freebsd games
Freebsd german
Freebsd graphics
Freebsd hebrew
Freebsd hungarian
Freebsd irc
Freebsd japanese
Freebsd java
Freebsd korean
Freebsd lang
Freebsd mail
Freebsd math
Freebsd mbone
Freebsd misc
Freebsd multimedia
Freebsd net
Freebsd net-im
Freebsd net-mgmt
Freebsd net-p2p
Freebsd news
Freebsd palm
Freebsd polish
Freebsd ports-mgmt
Freebsd portuguese
Freebsd print
Freebsd russian
Freebsd science
Freebsd security
Freebsd shells
Freebsd sysutils
Freebsd textproc
Freebsd ukrainian
Freebsd vietnamese
Freebsd www
Freebsd x11
Freebsd x11-clocks
Freebsd x11-drivers
Freebsd x11-fm
Freebsd x11-fonts
Freebsd x11-servers
Freebsd x11-themes
Freebsd x11-toolkits
Freebsd x11-wm