A basic lexer toolkit, for Java