This commit is contained in:
Valk Richard Li
2020-01-04 22:15:29 +08:00
committed by GitHub
parent b0d5ad486d
commit 5da6b19c6b
3 changed files with 82 additions and 24 deletions
+1
View File
@@ -25,6 +25,7 @@ int main()
std::cout<<">> [lexer ] turn code into tokens."<<std::endl;
std::cout<<">> [parser] turn tokens into abstract syntax tree."<<std::endl;
std::cout<<">> [ast ] check the abstract syntax tree."<<std::endl;
std::cout<<">> [run ] run code."<<std::endl;
std::cout<<">> [exit ] quit nasal interpreter."<<std::endl;
}
else if(command=="cls")