mirror of
https://github.com/ValKmjolnir/Nasal-Interpreter.git
synced 2026-07-26 21:08:45 +08:00
🎨 improve code format
delete option -v, --version, -l, --lex
This commit is contained in:
+15
-58
@@ -67,64 +67,21 @@ enum ast_node:u32
|
||||
|
||||
const char* ast_name[]=
|
||||
{
|
||||
"null",
|
||||
"root",
|
||||
"block",
|
||||
"file",
|
||||
"nil",
|
||||
"num",
|
||||
"str",
|
||||
"id",
|
||||
"func",
|
||||
"hash",
|
||||
"vec",
|
||||
"pair",
|
||||
"call",
|
||||
"callh",
|
||||
"callv",
|
||||
"callf",
|
||||
"subvec",
|
||||
"args",
|
||||
"default",
|
||||
"dynamic",
|
||||
"and",
|
||||
"or",
|
||||
"=",
|
||||
"+=",
|
||||
"-=",
|
||||
"*=",
|
||||
"/=",
|
||||
"~=",
|
||||
"==",
|
||||
"!=",
|
||||
"<",
|
||||
"<=",
|
||||
">",
|
||||
">=",
|
||||
"+",
|
||||
"-",
|
||||
"*",
|
||||
"/",
|
||||
"~",
|
||||
"neg",
|
||||
"!",
|
||||
"trino",
|
||||
"for",
|
||||
"forindex",
|
||||
"foreach",
|
||||
"while",
|
||||
"iter",
|
||||
"cond",
|
||||
"if",
|
||||
"elsif",
|
||||
"else",
|
||||
"multi-id",
|
||||
"tuple",
|
||||
"def",
|
||||
"multi-assign",
|
||||
"continue",
|
||||
"break",
|
||||
"return"
|
||||
"null", "root", "block", "file",
|
||||
"nil", "num", "str", "id",
|
||||
"func", "hash", "vec", "pair",
|
||||
"call", "callh", "callv", "callf",
|
||||
"subvec", "args", "default", "dynamic",
|
||||
"and", "or", "=", "+=",
|
||||
"-=", "*=", "/=" "~=",
|
||||
"==", "!=", "<", "<=",
|
||||
">", ">=", "+", "-",
|
||||
"*", "/", "~", "neg",
|
||||
"!", "trino", "for", "forindex",
|
||||
"foreach", "while", "iter", "cond",
|
||||
"if", "elsif", "else", "multi-id",
|
||||
"tuple", "def", "multi-assign", "continue",
|
||||
"break", "return"
|
||||
};
|
||||
|
||||
class ast
|
||||
|
||||
Reference in New Issue
Block a user