Lexer and parser for reduced Java language