From Free Software Directory
Jump to: navigation, search


Fast lexical analyser generator

Flex (The Fast Lexical Analyzer) is a tool for generating programs that recognize lexical patterns in text. There are many applications for Flex, including writing compilers in conjunction with GNU Bison. Flex is a free implementation of the well known Lex program. It features a Lex compatibility mode, and also provides several new features such as exclusive start conditions.


Can be generated in various formats using the GNU documentation system.

Use help2man to generate the man page.

Related Projects


LicenseVerified byVerified onNotes
License:BSD AdClauseJanet Casey10 January 2003

Leaders and contributors

Vern Paxson Contributor
W. L. Estes Maintainer

Resources and communication

AudienceResource typeURI
SupportMailing List Info/Archivehttp://lists.sourceforge.net/mailman/listinfo/flex-help
DeveloperVCS Repository Webviewhttps://github.com/westes/flex
DeveloperBug Trackinghttps://github.com/westes/flex/issues
DeveloperMailing List Info/Archivehttp://lists.sourceforge.net/mailman/listinfo/flex-announce

Software prerequisites

Required to buildbash
Required to usehelp2man to generate the flex man page
Required to buildm4
Required to usetar, gzip, etc. for packaging of the source distribution
Required to usebison to generate parse.c from parse.y
Required to usetexinfo to build and test the flex manual
Required to useautoconf for handling the build system
Required to useindent for indenting the flex source the way we want it done
Required to useautomake for Makefile generation
Required to buildgcc
Required to usegettext for i18n support

This entry (in part or in whole) was last reviewed on 2 January 2017.


"History" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.