cleanup and small escape character fix
This commit is contained in:
@@ -37,11 +37,11 @@ def tokenize(input_string: str):
|
||||
current_token = ""
|
||||
|
||||
instructions = [
|
||||
"stdlnout", "stdout", "stdin", "end", "return", "fun", "endfun", "getstrcharat",
|
||||
"stdout", "stdin", "end", "return", "fun", "endfun", "getstrcharat", "if",
|
||||
"getstrsize", "pusharg", "call", "set", "add", "subtract", "multiply", "divide",
|
||||
"equal", "inequal", "not", "greater", "lesser", "stoi", "stod", "tostring", "use",
|
||||
"extern", "jump", "gettype", "exists", "setlist", "setlistat", "getlistat", "getlistsize",
|
||||
"listappend", "if"
|
||||
"listappend"
|
||||
]
|
||||
|
||||
while pos < len(input_string):
|
||||
|
Reference in New Issue
Block a user