Index of /archives/NetBSD/NetBSD-release-9/src/external/bsd/flex/dist/examples

Icon  Name                                                          Last modified      Size  Description
[PARENTDIR] Parent Directory - [DIR] CVS/ 2024-02-15 03:51 - [TXT] Makefile.am 2009-10-26 09:28 1.0K [TXT] Makefile.in 2018-12-24 00:57 20K [TXT] README 2009-10-26 09:28 656 [TXT] debflex.awk 2009-10-26 09:28 2.7K [DIR] fastwc/ 2024-02-15 03:44 - [DIR] manual/ 2024-02-15 03:44 - [TXT] testxxLexer.l 2017-01-03 01:26 860
This directory contains some examples of what you can do with
flex. These files are not tested regularly so you might have to tinker
a bit before they work for you. Updates, new files and patches are welcome.

	- debflex.awk, an awk script for anotating flex debug output.
	  It presently only works with gawk and mawk, not with "old"
	  or "new" awk.

	- testxxLexer.l, a sample C++ program that uses flex's scanner
	  class option ("-+").

	- fastwc/, a subdirectory containing examples of how to use flex
	  to write progressively higher-performance versions of the Unix
	  "wc" utility.  This certainly should work with 2.5, but hasn't
	  been tested.