From e7dbfff4bba5502de1404030c8de213429030076 Mon Sep 17 00:00:00 2001 From: Valk Richard Li <48872266+ValKmjolnir@users.noreply.github.com> Date: Sun, 22 Sep 2019 03:28:52 -0500 Subject: [PATCH] update --- version1.0/main.cpp | 6 - version1.0/nasal_parser.h | 224 +++++++++++++++++++++++++++++++++++++- 2 files changed, 221 insertions(+), 9 deletions(-) diff --git a/version1.0/main.cpp b/version1.0/main.cpp index f0ac199..80d659c 100644 --- a/version1.0/main.cpp +++ b/version1.0/main.cpp @@ -23,7 +23,6 @@ int main() std::cout<<">> 7. [del ] |delete program in memory."<> 8. [run ] |run the programme in stack. (-lexer -parser)"<> 9. [rs ] |check the source program."<>10. [rule ] |see rules of the language."<>[Rule] Token types that you can use: number + - * /"<>[Rule] Each binary operator should have two numbers around it like: 1 + 1"<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<>[Error] line "<