From 08d4281421259e13f875f3914ab56c86ecb945dc Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Tue, 1 Oct 2019 23:11:03 +0800 Subject: [PATCH] Delete main.cpp --- version0.15/main.cpp | 68 -------------------------------------------- 1 file changed, 68 deletions(-) delete mode 100644 version0.15/main.cpp diff --git a/version0.15/main.cpp b/version0.15/main.cpp deleted file mode 100644 index 59065aa..0000000 --- a/version0.15/main.cpp +++ /dev/null @@ -1,68 +0,0 @@ -#include "nasal_lexer.h" -#include "nasal_parser.h" -#include "ast.h" -#include -#include - -int main() -{ - resource_programme_process prog; - nasal_lexer lex; - nasal_parser pas; - std::string command; - std::cout<<">> Nasal interpreter by ValKmjolnir"<> input [help] to find help."<> "; - std::getline(std::cin,command); - if(command=="help") - { - std::cout<<">> Nasal 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."<