From 53f275ce41a8c0d783a8ff5a02b62c3ff6188667 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Wed, 13 Nov 2019 23:39:02 +0800 Subject: [PATCH] Delete main.cpp --- main.cpp | 100 ------------------------------------------------------- 1 file changed, 100 deletions(-) delete mode 100644 main.cpp diff --git a/main.cpp b/main.cpp deleted file mode 100644 index b7f8314..0000000 --- a/main.cpp +++ /dev/null @@ -1,100 +0,0 @@ -#include "balloon.h" - -resource_file prog; -balloon_lexer lex; -balloon_parse pas; - -int main() -{ - std::string command; - std::cout<<">> Balloon interpreter by ValKmjolnir"<> Input [help] to find help."<> "; - std::getline(std::cin,command); - if(command=="help") - { - std::cout<<">> Balloon 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 and see parse stack & parse result(s). (-parser)"<> 6. [ast ] |print the abstract syntax tree."<> 7. [del ] |delete program in memory."<> 8. [run ] |run the programme in stack. (-lexer -parser)"<> 9. [rs ] |check the source program."<>[Delete] Complete."<>[Lexer] error(s) found,stop."<>[Parse] error(s) found,stop."<>[Lexer] error(s) found,stop."<>[Parse] error(s) found,stop."<>[Lexer] error(s) found,stop."<