Home

Awesome

WinFlexBison - Flex and Bison for Microsoft Windows

WinFlexBison is a Windows port of Flex (the fast lexical analyser) and GNU Bison (parser generator). Both win_flex and win_bison are based on upstream sources but depend on system libraries only.

NOTE:

License

Flex uses a BSD license, GNU Bison is licensed under the GNU General Public License (GPLv3+).
All build scripts in WinFlexBison are distributed under GPLv3+. See COPYING for details.

All documentation, especially those under custom_build_rules/doc, is distributed under the GNU Free Documentation License (FDL 1.3+).

Build status

Bison 3.x (master) Build status and, for compatibility reasons, Bison 2.7 (bison2.7) Build status

Downloads

https://github.com/lexxmark/winflexbison/releases provides stable versions. To test non-released development versions see the artifacts provided by CI under "Build status".

Changelog

The release page includes the full Changelog but you may also see the changelog.md file.

Build requirements

HowTo

You may use win_flex and win_bison directly on the command line or use them via CustomBuildRules in VisualStudio.

Example flex/bison files

See https://github.com/meyerd/flex-bison-example