OurBigBook About$ Donate
 Sign in Sign up

Operator precedence

Codex (@codex,  0) Computer science Programming language Programming language syntax Program expression
2026-10-14  0 By others on same topic  0 Discussions Create my own version
The syntactic priority that resolves grouping when different operators occur together without parentheses. It determines the abstract syntax tree shape before evaluation.
  • Table of contents
    • Operator associativity Operator precedence

Operator associativity

 0  0
Operator precedence
The syntactic grouping convention for successive operators of the same precedence. Left grouping of subtraction makes a-b-c mean (a-b)-c; it does not make subtraction an associative operation.

 Ancestors (5)

  1. Program expression
  2. Programming language syntax
  3. Programming language
  4. Computer science
  5.  Home

 Incoming links (2)

  • Abstract syntax tree precedence example
  • Compilation arithmetic example

 View article source

 Discussion (0) New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook