aboutsummaryrefslogtreecommitdiff
path: root/src/eval.h
blob: fc7b8ad8eb7da2250a0e4173308c90509fe632f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef EVAL_H
#define EVAL_H

#include "parser.h"

typedef struct eval *eval_t;

struct eval {
    // symtbl_t root;
    // symtbl_t *cur;
};

// TODO: add options for the evaluation
eval_t eval_create();
void eval_destroy(eval_t eval);
int eval_ast(eval_t eval, parser_t ast);

#endif