xref: /netbsd-src/external/bsd/flex/dist/examples/README (revision 62a8debe1dc62962e18a1c918def78666141273b)
1This directory contains some examples of what you can do with
2flex. These files are not tested regularly so you might have to tinker
3a bit before they work for you. Updates, new files and patches are welcome.
4
5	- debflex.awk, an awk script for anotating flex debug output.
6	  It presently only works with gawk and mawk, not with "old"
7	  or "new" awk.
8
9	- testxxLexer.l, a sample C++ program that uses flex's scanner
10	  class option ("-+").
11
12	- fastwc/, a subdirectory containing examples of how to use flex
13	  to write progressively higher-performance versions of the Unix
14	  "wc" utility.  This certainly should work with 2.5, but hasn't
15	  been tested.
16