2025-01-06 03:00:01 +01:00
|
|
|
#ifndef INTERPRETER_H
|
|
|
|
#define INTERPRETER_H
|
|
|
|
|
|
|
|
#include "ast.h"
|
2025-01-06 04:53:15 +01:00
|
|
|
#include "stmt.h"
|
2025-01-06 03:00:01 +01:00
|
|
|
|
|
|
|
value_t evaluate(expr_t *expr);
|
|
|
|
void print_value(value_t *value);
|
2025-01-06 04:53:15 +01:00
|
|
|
void print_statements(stmt_array_t *array);
|
2025-01-06 03:00:01 +01:00
|
|
|
|
|
|
|
#endif
|