| 1 |
This directory contains some examples of what you can do with |
| 2 |
flex. These files are not tested regularly so you might have to tinker |
| 3 |
a 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. |