aboutsummaryrefslogtreecommitdiffstats
path: root/src/runtime.cpp
blob: 4edb3e653b7c1381e2842e3e5290feafd28d14e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "runtime.h"

Runtime::Runtime() {

}

/* Returns false if token is not a command */
bool Runtime::runCommand(const Token& token) {
    // TODO
    return false;
}

void Runtime::run(std::vector<Token>& tokens) {
    for (auto& token : tokens) {
        if (!runCommand(token)) {

        }
    }
}