aboutsummaryrefslogtreecommitdiffstats
path: root/src/runtime.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/runtime.cpp')
-rw-r--r--src/runtime.cpp19
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)) {
+
+ }
+ }
+}