diff --git a/version0.9/main.cpp b/version0.9/main.cpp deleted file mode 100644 index bf1d5ca..0000000 --- a/version0.9/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include "nasal_lexer.h" -#include "nasal_parser.h" -#include -#include - -int main() -{ - resource_programme_process prog; - nasal_lexer lex; - nasal_parser pas; - std::string command; - std::cout<<">> nasal script interpreter by ValKmjolnir"<> input \"help\" to find help."<> Be careful: this interpreter uses strict methods to check if there's an error."<> "; - std::getline(std::cin,command); - if(command=="help") - { - std::cout<<">> nasal script interpreter by ValKmjolnir"<> 1. |input file name to load the file."<> 2. \"cls\" |clear the screen."<> 3. \"exit\" |shut down the interpreter."<> 4. \"lexer\" |run and show the lexer. (-lexer)"<> 5. \"parser\"|run parser. (-parser)"<> 6. \"del\" |delete all elements in stack."<> 7. \"run\" |run the programme in stack. (-lexer -parser)"<> 8. \"rs\" |check the source program."<>[Delete] Complete."<