#pragma once #include #include #include #include "../headers/Lexer.h" #include "../headers/Interpreter.h" #define VERSION "0.0.1" class Bob { public: Lexer lexer; Interpreter* interpreter; ~Bob() { delete interpreter; } public: void runFile(const std::string& path); void runPrompt(); void error(int line, const std::string& message); private: bool hadError = false; private: void run(std::string source); void report(int line, std::string where, std::string message); };