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