summaryrefslogtreecommitdiff
path: root/src/runner/runner.h
blob: 10fd8dc484a6a258cb427ff1a3140334576ee2cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include "compiler/ast-tree.h"
#include <stdint.h>

void runnerVariableSetValue(AstTreeVariable *variable,AstTree *value);

bool runAstTree(AstTreeRoot *root);

AstTree *runAstTreeFunction(AstTree *tree, AstTreeFunctionCallParam *arguments,
                            size_t arguments_size);

AstTree *runExpression(AstTree *expr, bool *shouldRet,bool isLeft);