infixcentered
Infixcentered is a term used in discussions of syntax representation to describe a design principle whereby the infix operator is treated as the central element of an expression, situated between its operands. The concept is not tied to a single standard definition and has been used in varying ways across programming language design, formal grammar descriptions, and linguistic theory. In many contexts it refers to the familiar infix notation in which an operator appears between two operands, as opposed to prefix or postfix forms, and which often carries implications for precedence, associativity, and readability.
In parser theory and grammar design, infixcentered representations can be encoded with productions of the form
In linguistics and education, infixcentered approaches may emphasize the central role of infixes in a language’s
See also: infix notation, prefix notation, postfix notation, operator precedence, parse tree, context-free grammar.