Open 2439905184 opened 2 years ago
Compiler.nim
Lexer.nim
return_type -> "->" 赋值 -> "=" 赋值语法2 -> "->" continue_code -> "-->" function_keyword -> "func" array_left -> "[" array_right -> "]" get_array_element -> "[]" var_keyword -> "var" 编译指示 -> "{.hint.}"
语法太自由了,太灵活了,存在歧义,可能不能自动生成词法分析器,需要手写
Compiler.nim
Lexer.nim