Closed seanygberg closed 1 year ago
Would you not also have to add the operators '//' and '%' into the operator precedence table in Parser? I believe mod takes precedence over + and -
From what I see it looks like you implemented them well. Not too sure though since I settled with implementing easier operators lol, so its harder for me to compare.
This is my implementation for some of the operators. I still have to figure out how to put these into the interpreter, but this is my current syntax.