doing a bit of cleaning up
This commit is contained in:
@@ -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:
|
||||
|
||||
|
Reference in New Issue
Block a user