FSE/app/main.cpp
IlyaShurupov 31fa6e96bb tmp
2024-03-27 17:06:46 +03:00

26 lines
No EOL
380 B
C++

#include "Interpreter.hpp"
#include <iostream>
#include <string>
int main() {
Interpreter interpreter;
std::string line;
std::cout << "File System emulator.\n";
while (true) {
std::cout << ">> ";
std::getline(std::cin, line);
if (line == "stop") {
break;
}
// Process the line here
//
interpreter.interpret(line);
}
return 0;
}