Added optimisation levels

This commit is contained in:
2022-08-06 05:59:29 +01:00
parent 577d1965cb
commit 6b33895f75
6 changed files with 35 additions and 65 deletions

View File

@@ -7,6 +7,7 @@
typedef union _node Node;
typedef enum NodeType {
NODE_ERROR,
NODE_LITERAL, //a simple value
NODE_UNARY, //one child
NODE_BINARY, //two children, left and right