public class PolyTokenTest { public static void main(String [] args) { try { new Polynomials(System.in).Goal(); System.out.println("Lexical analysis successfull"); } catch (ParseException e) { System.out.println("Lexer Error : \n"+ e.toString()); } } }