#include "nasal.h" void logo() { std::cout<<" __ _ "<> [system] Windows system."<> [system] Linux system."<> [system] MacOS system."<> Nasal interpreter ver 3.0 ."<> Code: https://github.com/ValKmjolnir/Nasal-Interpreter"<> More info: http://wiki.flightgear.org/Nasal_scripting_language"<> Input \"help\" to get help ."<> "; std::cin>>command; if(command=="help") { std::cout<<">> [\'file\'] input a file."<> [cls ] clear the screen."<> [del ] clear the resource code."<> [lib ] add lib file."<> [rs ] print resource code."<> [lex ] turn code into tokens."<> [par ] turn tokens into abstract syntax tree."<> [ast ] check the abstract syntax tree."<> [run ] run code."<> [logo ] print logo of nasal ."<> [exit ] quit nasal interpreter."<> [Delete] complete."<> [lexer] error occurred,stop.\n"; } else if(command=="par") { ; } else if(command=="ast") { ; } else if(command=="run") { ; } else if(command=="logo") logo(); else if(command=="exit") break; else resource.input_file(command); } return 0; }