Home
Name Modified Size InfoDownloads / Week
old_versions 2021-01-06
README.txt 2021-01-06 1.5 kB
win_flex_bison3-latest.zip 2021-01-06 1.0 MB
win_flex_bison-2.5.24.zip 2021-01-06 1.0 MB
flex_bison_doc.zip 2020-10-23 1.5 MB
win_flex_bison-2.5.18.zip 2020-03-04 977.6 kB
win_flex_bison-latest.zip 2018-01-15 708.0 kB
win_flex_bison-2.4.12.zip 2018-01-15 708.0 kB
win_flex_custom_build_rules.zip 2016-09-12 4.7 kB
win_bison_custom_build_rules.zip 2016-09-12 4.1 kB
win_flex_bison_custom_build_rules.zip 2014-12-06 6.2 kB
Totals: 11 Items   6.0 MB 2,894
# WinFlexBison - Flex and Bison for Microsoft Windows

WinFlexBison is a Windows port of [Flex (the fast lexical analyser)](https://github.com/westes/flex/) and [GNU Bison (parser generator)](https://www.gnu.org/software/bison/).
Both win_flex and win_bison are based on upstream sources but depend on system libraries only.

**NOTE**:
* 2.4.x versions include GNU Bison version 2.7
* 2.5.x versions include GNU Bison version 3.x.x

## Build status
Bison 3.x (master) [![Build status](https://ci.appveyor.com/api/projects/status/58lcjnr0mb9uc8c8/branch/master?svg=true)](https://ci.appveyor.com/project/lexxmark/winflexbison/branch/master) and, for compatibility reasons, Bison 2.7 (bison2.7) [![Build status](https://ci.appveyor.com/api/projects/status/58lcjnr0mb9uc8c8/branch/bison2.7?svg=true)](https://ci.appveyor.com/project/lexxmark/winflexbison/branch/bison2.7)

## 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](changelog.md) file.

## Build requirements
* Visual Studio 2017 or newer
* optional: CMake (when building with CMake)

## HowTo
You may use win_flex and win_bison directly on the command line or [use them via CustomBuildRules in VisualStudio](custom_build_rules/README.md).

## Example flex/bison files
See https://github.com/meyerd/flex-bison-example
Source: README.txt, updated 2021-01-06