#include #include #include "pilang.hpp" int main() { using namespace Pilang3; // Initialise std::string line; auto env = std::make_shared(); // CLI loop while (true) { std::getline(std::cin, line); try { Evaluation evaluation(env, line); evaluation.execute(env); } catch (exceptions::emptyExpr&) { // Do nothing } catch (exceptions::langException& e) { std::cout << "E: Language exception: " << &e << std::endl; } } }