4 ms·
Try your idea. It won't work. The reason is that they aren't "addable", they are precedence1 and precedence2. You can change Exp to Precedence if you wanted bu
by srtjstjsj 6y ago
Try your idea. It won't work. The reason is that they aren't "addable", they are precedence1 and precedence2.
You can change Exp to Precedence if you wanted but that's just longer.
- tom_mellior 6y ago"It won't work" is a hilarious claim seeing how actual language standards do exactly this, and it works well. See the C standard for example: https://web.archive.org/web/20161223125339/http://flash-gordon.me.uk/ansi.c.txt https://web.archive.org/web/20161223125339/http://flash-gord... . Search for "additive-expression" to see the relevant grammar rules.