public static void main(String[] args) throws Exception {  
        ParseExpression test = new ParseExpression();   
        String exp = "pow(2,3)+5 mod 3+ pow(1 ,3 )";  
        try{
        	System.out.println(exp+"=" + test.evaluate(exp));  
        }catch(Exception e){
        	System.out.println(e.getMessage());
        }
        
    }