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