public static void main(String[] args) throws LexerException, IOException {
        // TODO code application logic here
        Reader r;
        try {
            for (int i = 0; i < args.length; i++) {
                r = new FileReader(args[i]);
                MyLexer l = new MyLexer(new PushbackReader(r));
                while (true) {
                    Token t = l.next();
                    String name = t.getClass().getSimpleName();
                    if (!name.equals("EOF")) {
                        name=name.substring(1, name.length());
                    }
                    if (!(t instanceof TEspacoVazio)){
                        if (!name.equals("EOF")) {
                          System.out.print(name); 
                        }
                    }else{
                       System.out.print(t.getText());
                    }
                    if(t instanceof EOF)
                        break;     
                }
                System.out.println("\nTeste finalizado com Sucesso\n");
            }
        } catch (FileNotFoundException ex) {
            Logger.getLogger(Compiladorsy.class.getName()).log(Level.SEVERE, null, ex);
        }
}