#ifndef COMMANDEXECUTOR_H #define COMMANDEXECUTOR_H #include "vector" #include "stack.h" using std::vector; using std::byte; class CommandExecutor { public: CommandExecutor(vector bytes, Stack globalStack); Stack globalStack; Stack insiderStack; bool isCommandDefined; bool isEnded; vector> commands; vector bytes; void execute (); private: bool isCorrectionSyntax (); }; #endif // COMMANDEXECUTOR_H