/* This is the main function to the interpreter */ #include #include #include #include "y.tab.h" #include "data.h" main(int argc, char **argv) { if (argc == 1) { printf("*** TAOML Interpretor ***\n"); printf("Usage: inter taoml_file\n"); } else if (argc == 2) { interpreter(argv[1]); } else printf("Too many arguments!\n"); }