a lexer for DamL