#include #include #include "read.h" #include "run.h" AstNode read() { AstNode ret; memset(&ret, 0, sizeof ret); pcc_context_t *ctx = pcc_create(NULL); pcc_parse(ctx, &ret); pcc_destroy(ctx); return ret; } int main() { Ht e = ht_new(); for (;;) printf("%d\n",eval(&e, read())); }