cleanup and small escape character fix

This commit is contained in:
SpookyDervish
2025-09-06 21:18:22 +10:00
parent daf42eba09
commit 23ec72e961
5 changed files with 18 additions and 35 deletions

View File

@@ -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):