doing a bit of cleaning up

This commit is contained in:
SpookyDervish
2025-09-07 20:00:35 +10:00
parent 35ee183768
commit be2cfdf9c8
4 changed files with 59 additions and 123 deletions

View File

@@ -98,8 +98,7 @@ def generate_ast(tokens: list[Token], code: str) -> RootNode:
current_node_type = None
scope = root_node
# todo: this is the absolute WORST way i could do this, but i could not care less lmao
# its not even performant......
# todo: this is the absolute WORST way i could do this, but i could not care less lmao, its not even performant......
for token in tokens:
if token.type == TokenType.INSTRUCTION: