Considering the following grammar: This is my code using ply: How am I supposed to build an AST with the expression if I can’t access the operators? I could separate the functions like p_expr_plus, but in this case, I would eliminate operator precedence. The docs are not so helpful, since I’m a beginner and can’t solve this problem. The best