From cd46d8eaf8bf2be876cf55f785940c0c5715a722 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Thu, 22 Aug 2019 18:25:21 +0800 Subject: [PATCH] Update tips --- version0.5/nasal_interpreter.cpp | 7 ++++--- version0.5/nasal_lexer.h | 4 ++-- version0.5/nasal_parse.h | 4 ++-- 3 files changed, 8 insertions(+), 7 deletions(-) diff --git a/version0.5/nasal_interpreter.cpp b/version0.5/nasal_interpreter.cpp index 4e6b6ec..ecbb47a 100644 --- a/version0.5/nasal_interpreter.cpp +++ b/version0.5/nasal_interpreter.cpp @@ -12,13 +12,13 @@ int main() if(command=="help") { std::cout<<">> nasal script by ValKmjolnir"<> 1. |input file name to run the lexer."<> 1. |input file name to run the lexer. (-lexer)"<> 2. \"cls\" |clear the screen."<> 3. \"exit\" |shut down the program."<> 4. \"lexer\" |see tokens in stack."<> 5. \"parser\"|run parser."<> 5. \"parser\"|run parser. (-parser)"<> 6. \"del\" |delete all elements in stack."<> 7. \"run\" |run the programme in stack."<> 7. \"run\" |run the programme in stack. (-lexer -parser)"<> 8. \"rs\" |check the source program."<>[Delete] Complete."<>[Error] Failed to load file: "<> Complete scanning \""<>[Lexer] Complete scanning \""<>[Error]: Parse error."<>[Error] Parse error."<> Parse analysis complete."<>[Parser] Parse analysis complete."<