Finished Batch + Minor improvements

This commit is contained in:
2025-07-29 20:22:17 +02:00
parent f54a3ba309
commit f93c463647
8 changed files with 80 additions and 18 deletions

View File

@ -26,12 +26,13 @@ namespace fsh {
virtual void run(std::istream& in, std::ostream& out, ArgManager& args) override {
std::string line;
std::getline(in, line);
while(std::getline(in, line)) {
auto tokens = Lexer::process(line);
auto ast = AstFactory::generate_ast(tokens);
auto tokens = Lexer::process(line);
auto ast = AstFactory::generate_ast(tokens);
ast->print(0);
}
ast->print(0);
}
};