#include #include #include #include "xapp.h" #include "xapp.yy.h" long long result; int main(int argc, char **argv) { TOKEN tokens[TOKENS]; char buffer[IO_BUFFER] = {'\0'}; /* Process input */ while (fgets(buffer, IO_BUFFER, stdin)) { /* Tokenize the line */ int count; if (count = tokenizeInput(buffer, tokens)) { /* Iterate through the tokens */ int i; for (i = 0; i < count; ++i) { int j, sign; const char *s = "", *p, *q; switch (tokens[i].type) { /* Process each _SET_V("