A lexicalanalyzer generator that makes the class source code.
ULS is a class library for creating lexicalanalyzer from language specification file. It's provided as C/C++/C# and Java (class) libraries with a few of tools on Linux/Windows platform.
Lapg is the combined lexicalanalyzer and parser generator, which converts a description for a context-free LALR grammar into source file to parse the grammar. Generates code for Java, Javascript, C, C++ and C#.