I’m trying to write a parser for a simple language: When I run it, I get the following error: I understand that this is happening because, if we imagine that the parser was built without an error, and then wrote parser.parse(‘foo’), both arithmetic_expr and boolean_expr would be “correct” derivations. Also, as you can see I’m using LALR which is a