summaryrefslogtreecommitdiff
path: root/types.h
blob: b2e50c214131e3e3b04fa8013a7ccfdc7b61e0e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#include <stdbool.h>

typedef struct exp {
	char name;
	char op;

	bool var;
	union {
		int v;
		char vv;
	};
} exp;

typedef struct function {
	exp *exprs[1024];
	int exprcount;
	char name;
} function;