1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
#ifndef PINOCCIO_H #define PINOCCIO_H #include <stdbool.h> #include <stdint.h> typedef struct eqn { int type; union { struct { struct eqn *lhs, *rhs; }; char ch; }; } eqn_t; typedef struct { eqn_t *eqn; uint64_t vars; } ast_t; void astprocess(ast_t); #endif /* !PINOCCIO_H */