From e41f728589798516abc12d93205bd5cd034ed8ad Mon Sep 17 00:00:00 2001 From: ValKmjolnir Date: Fri, 15 Oct 2021 22:21:57 +0800 Subject: [PATCH] update --- main.cpp | 282 ++++--- nasal_import.h | 256 +++--- nasal_lexer.h | 725 ++++++++--------- nasal_parse.h | 2028 ++++++++++++++++++++++++------------------------ 4 files changed, 1645 insertions(+), 1646 deletions(-) diff --git a/main.cpp b/main.cpp index a58a054..d39dcfb 100644 --- a/main.cpp +++ b/main.cpp @@ -1,144 +1,140 @@ -#include "nasal.h" -#define VM_LEXINFO 1 -#define VM_ASTINFO 2 -#define VM_CODEINFO 4 -#define VM_EXECTIME 8 -#define VM_OPCALLNUM 16 -#define VM_EXEC 32 -void help_cmd() -{ - std::cout -#ifdef _WIN32 - <<"use command \'chcp 65001\' if want to use unicode.\n" -#endif - <<"nasal