FUCK YEAH, it works, it was the is_valid thing fo slices that was inverted, did the test by brute force and damn, is the expected AST

This commit is contained in:
2026-03-25 10:22:54 -06:00
parent f24671bd19
commit 845673fb0e
4 changed files with 50 additions and 34 deletions

View File

@@ -23,5 +23,3 @@ uint8_t node_rbp(ASTNode node);
AST parse(ASTNodeArray *arr);
ASTNode *parse_expr(ASTNodeSlice *slice, uint8_t min_bp);
void print_AST(AST tree);
void print_node(ASTNode *node, int depth);