#include "nasal.h" resource_file resource; nasal_lexer lexer; nasal_parse parser; std::string command; int main() { std::cout<<">> Nasal interpreter by github:ValKmjolnir"<> 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."<> [total ] print resource code with lib code."<> [lex ] turn code into tokens."<> [par ] turn tokens into abstract syntax tree."<> [ast ] check the abstract syntax tree."<> [run ] run code."<> [exit ] quit nasal interpreter."<>[Delete] complete."<>[Lib] loaded."<>[Lexer] error occurred,stop."<>[Lexer] error occurred,stop."<>[Parse] error occurred,stop."<>[Lexer] error occurred,stop."<>[Parse] error occurred,stop."<>[Lexer] error occurred,stop."<