refactor: evaluator separated into evaluate bin and un
Is nicer this way, also made it more beautiful to look at and therefor to understand.
This commit is contained in:
@@ -11,7 +11,6 @@ typedef enum {
|
||||
NODE_INT,
|
||||
NODE_BINARY_OP,
|
||||
NODE_UNARY_OP,
|
||||
NODE_PARENTHESIS,
|
||||
} NodeType;
|
||||
|
||||
typedef struct Node {
|
||||
|
||||
Reference in New Issue
Block a user