using python lex-yacc parse java language.