xref: /netbsd-src/external/bsd/flex/dist/examples/README (revision a5847cc334d9a7029f6352b847e9e8d71a0f9e0c)
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