A simplelexical analyzer for a sub-C compiler.