Zig build for FLex.
Uses the generated c code from the flex release tarball.
Does not try to build flex from source, as building flex requires flex.
If you want to build flex from source, the following resources may be helpful:
- https://bootstrapping.miraheze.org/wiki/Live-bootstrap#flex_2.5.11
- https://github.com/fosslinux/live-bootstrap/tree/master/steps/flex-2.5.11
- https://en.wikipedia.org/wiki/Flex_(lexical_analyser_generator)
- https://tomassetti.me/why-you-should-not-use-flex-yacc-and-bison/
- https://pubs.opengroup.org/onlinepubs/9799919799/utilities/lex.html
- https://pubs.opengroup.org/onlinepubs/9799919799/utilities/yacc.html
git clone https://github.com/allyourcodebase/flex.git
cd flex/
zig build