a scanner for the language X (DHBW Karlsruhe)