From 50bafbdd68160d00606a4e83d9759c21223c11f8 Mon Sep 17 00:00:00 2001 From: jantuomi Date: Thu, 1 Sep 2016 11:20:59 +0300 Subject: Restructure project --- src/runtime.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/runtime.h (limited to 'src/runtime.h') diff --git a/src/runtime.h b/src/runtime.h new file mode 100644 index 0000000..3572391 --- /dev/null +++ b/src/runtime.h @@ -0,0 +1,14 @@ +#pragma once +#include +#include +#include "token.h" + +class Runtime { + private: + std::stack m_values; + bool runCommand(const Token& token); + + public: + Runtime(); + void run(std::vector& tokens); +}; -- cgit v1.3