Buy Now

Mathematical and Selection Precedences

< Previous | Contents | Manuals Home | Boris FX | Next >

โ€ŒMathematical and Selection Precedences

Given the many rules, there are frequently many possible interpretations. Synthia uses a variety of techniques to get the best/right interpretation, and precedences is one of them. For example, consider

1+2*3

In simple calculator-style arithmetic, the answer would be 9, but applying the proper mathematical precedences, the answer is 7. Rules indicate their precedences to achieve that.

Exercise: write 1+2*3 to get 9 without changing the order of the numbers.

Selection precedences resolve ambiguities such as " a tracker": does the rule recognizing this as a nonterminal apply, or is it just the words "a" and "tracker"? We want it to be the nonterminal, but the two words are a valid interpretation too. Selection precedences achieve that and much more. They are also heavily overused to handle the nearly, but not completely, useless word "the."

ยฉ2026 Boris FX, Inc.ย โ€”ย UNOFFICIALย โ€”ย Converted from original PDF.


Subscribe to our newsletter

Get all the latest news, blog posts and product updates from Boris FX, delivered directly to your inbox.

In order to provide you with the content requested, we need to store and process your personal data. For more information on how to unsubscribe and our commitment to protecting your privacy, please review our Privacy Policy.

Welcome!

Thanks for opting-in to our newsletter. You'll receive an email momentarily with your confirmation.

Please select your language

The website is currently localized into the following languages