It is a Kotlin implementation of ANTLR4 and I'm using it because I can use it to write code that runs on both the JVM as well as the web.
The problem is: It doesn't support operator precedence! E.g. If you try to parse 1 - 2 + 3, it will interpret it as 1 - (2 + 3) instead of (1 - 2) + 3.
I would like to fix this bug, but unfortunately I know *nothing* about ANTLR internals. It looks like the runtime implements many (most?) of the classes in Kotlin that I see in the Java implementation.
Would anyone be able to help me out? Maybe point me in the right direction?
Sky