mirror of
https://github.com/Alvin-Zilverstand/femcode.git
synced 2026-03-06 13:23:39 +01:00
feat: Implement booleans (Kawaii/Cringe)
This commit is contained in:
@@ -26,6 +26,9 @@ class Interpreter:
|
||||
def visit_String(self, node):
|
||||
return node.value
|
||||
|
||||
def visit_Boolean(self, node):
|
||||
return node.value
|
||||
|
||||
def visit_BinOp(self, node):
|
||||
left_val = self.visit(node.left)
|
||||
right_val = self.visit(node.right)
|
||||
|
||||
Reference in New Issue
Block a user