A port to C# of a lexical analyzer tool called JFlex. Produces Java or C# source code files for scanning an input stream and producing a sequence of tokens. Compatible with CUP (Constructor of Useful Parsers).
It doesn't currently work on Windows 7. There doesn't appear to have been any activity from the developers for the past several years either.