Use pest pratt parser in the parser
The pratt parser should be used to implement precedence more cleanly. An example here: https://pest.rs/book/examples/calculator.html#pratt-parser
Edited by aalbert
The pratt parser should be used to implement precedence more cleanly. An example here: https://pest.rs/book/examples/calculator.html#pratt-parser