public static void main(String args[]) throws ParseException
    {
        SmiGrammar parser;
        parser = new SmiGrammar(System.in);
        try {
            parser.ModuleDefinitionList();
            System.out.println("MIB file parsed successfully.");
        } catch (ParseException e) {
            System.out.println("MIB file failed to parse.");
            System.out.println(e.toString());
        }
    }