lang: ast: convert RPN expression queue to ast and replace generic EXPR node with it

This commit is contained in:
2024-11-28 22:06:25 +00:00
parent 05ced5d5fc
commit ec24e2c327
8 changed files with 212 additions and 58 deletions

View File

@@ -63,7 +63,7 @@ struct ivy_ast_unit_node {
struct ivy_ast_op_node {
struct ivy_ast_node n_base;
enum ivy_operator_id n_op;
const struct ivy_operator *n_op;
struct ivy_ast_node *n_left; // NULL for unary operators.
struct ivy_ast_node *n_right;
};