Charles-Johnson / zia_programming

A language that can program itself
https://zia-lang.org
GNU General Public License v3.0
3 stars 0 forks source link

User defined transitive operator precedence #27

Closed Charles-Johnson closed 3 years ago

Charles-Johnson commented 3 years ago

Encode the transitive property of ordering as let (_y_ exists_such_that) _x_ > _y_ and (_y_ > _z_) => _x_ > _z_. This allows fewer operator precedence relations to be explicitly defined