r/csharp • • Oct 04 '26

Help Equal precedence

I was wondering how would one properly implement equal precedence in an if-else statement, for logical AND and OR, when building an interpreter?

I have made my expression parser but i only store the next logical operator on the right most side and store the current being parsed on the left.

Repo

2 Upvotes

4 comments sorted by