1
0
Fork 0
mirror of https://gitlab.com/niansa/pilang3.git synced 2025-03-06 20:49:20 +01:00
pilang3/main.cpp
2021-02-01 13:46:04 +01:00

22 lines
465 B
C++

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