1typedef enum {
2 EVAL_OK,
3 ERR_SCANF,
4 ERR_FLUSH,
5 ERR_PRINTF,
6 ERR_UNDEFVAR,
7 ERR_UNINITVAR,
8 ERR_PRECISION,
9 ERR_DIVBYZERO,
10 ERR_VARDEFINED,
11} evalerr;
12
13evalerr eval(env *e, statement **c);
Dirty interpreter for the limp programming language in C
git clone https://git.8pit.net/climp.git
1typedef enum {
2 EVAL_OK,
3 ERR_SCANF,
4 ERR_FLUSH,
5 ERR_PRINTF,
6 ERR_UNDEFVAR,
7 ERR_UNINITVAR,
8 ERR_PRECISION,
9 ERR_DIVBYZERO,
10 ERR_VARDEFINED,
11} evalerr;
12
13evalerr eval(env *e, statement **c);