OS4 DepotLogo by DBAlex 
(anonymous IP:,2193) 

   Bug tracker
   Locale browser


   o Audio (343)
   o Datatype (51)
   o Demo (203)
   o Development (596)
   o Document (22)
   o Driver (97)
   o Emulation (147)
   o Game (1004)
   o Graphics (497)
   o Library (115)
   o Network (232)
   o Office (66)
   o Utility (923)
   o Video (69)

Total files: 4365

Full index file
Recent index file



Support the site

 Readme for:  Development » Utility » flex.lha


Description: Fast lexical analyzer generator
Download: flex.lha       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 512kb
Version: 2.5.27
Date: 23 Jun 2009
Author: Vern Paxson, Van Jacobson, Jef Poskanzer, Kevin Gong & John Millaway
Submitter: Thore Böckelmann
Email: tboeckel/gmx de
Category: development/utility
License: BSD
Distribute: yes
Min OS Version: 4.0
FileID: 4909
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 183  (Current version)
183  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

Show comments Show snapshots Show videos Show content Show crashlogs Replace file 

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.


This is a straight compile of flex 2.5.27 without any changes to the source.
Both supplied versions are linked against newlib.library. The plain 'flex'
executable uses AmigaOS style paths, while 'gflex' understands Unix path
semantics, i.e. things like "flex ../parser.l" are possible.

Further informations and even more recent releases of flex can be found at
http://flex.sourceforge.net/. flex 2.5.27 is the last known to work version of
flex which doesn't use fork() and hence can be built without much trouble and
without any changes to the source code.

This version is slightly newer than the version distributed with the official
OS4 SDK and for example is required to build YAM natively under OS4.

Copyright © 2004-2024 by Björn Hagström All Rights Reserved