diff options
| author | jantuomi <jans.tuomi@gmail.com> | 2016-09-01 11:20:59 +0300 |
|---|---|---|
| committer | jantuomi <jans.tuomi@gmail.com> | 2016-09-01 11:20:59 +0300 |
| commit | 50bafbdd68160d00606a4e83d9759c21223c11f8 (patch) | |
| tree | 66c58cfb012dc0b7d222a03e8c55507b75e9af1f /src/runtime.cpp | |
| parent | be011366f249b8ebed3905030ce3b7021597ee34 (diff) | |
Restructure project
Diffstat (limited to 'src/runtime.cpp')
| -rw-r--r-- | src/runtime.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/runtime.cpp b/src/runtime.cpp new file mode 100644 index 0000000..4edb3e6 --- /dev/null +++ b/src/runtime.cpp @@ -0,0 +1,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)) { + + } + } +} |
