ok damn it nearly works

This commit is contained in:
SpookyDervish
2025-09-12 06:28:45 +10:00
parent 2ce71e7abb
commit 865a31827a
6 changed files with 107 additions and 27 deletions

View File

@@ -74,7 +74,7 @@ class Generator:
pass
def generate_node(self, node):
#self.lines.append(f"; {node}\n\t")
self.lines.append(f"; {node}\n\t")
node_type = str(type(node))[19:-2]
if not hasattr(self, f"generate_{node_type}"):
raise NotImplementedError(f"Generator has no generate method for {node_type}.")