PLDB
Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon

Infix Notation

Infix Notation

Infix Notation is a feature.

Infix notation is the notation commonly used in arithmetical and logical formulae and statements. It is characterized by the placement of operators between operands—"infixed operators"—such as the plus sign in 2 + 2.


Languages with Infix Notation include JavaScript, Python, Elixir, Coconut, HOPE

Example from JavaScript:
const six = 2 + 2 + 2
Example from Python, Elixir:
seven = 3 + 4
Example from Coconut:
5 `mod` 3 == 2
Example from HOPE:
max(10,20) + max(1,max(2,3));
homoiconic-feature.html · infix-notation-feature.html · integers-feature.html

View source

PLDB - Build the next great programming language · v2022 · Day 33 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub · feedback@pldb.com