Fast Lexical Analyzer, generates Scanners (tokenizers)
https://github.com/westes/flex This formula is keg-only.

Current versions

flex requires the following formulae to be installed:
help2man 1.47.5 Automatically generate simple man pages
gettext GNU internationalization (i18n) and localization (l10n) library

Reverse dependencies

The following formulae require flex to be installed:
lilypond 2.18.2 Sheet music engraver
maude 2.7.1_1 reflective language for equational and rewriting logic specification
php53 5.3.29_8 PHP Version 5.3
mdk 1.2.9_2 GNU MIX development kit
crosstool-ng 1.23.0_1 Tool for building toolchains

Recent formula history

Mike McQuaid flex: use *_by_macos.
Viktor Oreshkin flex: add head spec (#21657)
ilovezfs Use “squiggly” heredocs.
ilovezfs flex 2.6.4
Dominyk Tiller flex: keg_only style tweaks

Formula code at GitHub