Abstract

AbstractSome programming languages allow the programmer to define operators. Algol‐68 allows user‐defined operator symbols with user‐defined priorities and user‐defined bodies; nevertheless the language rules insist on left‐to‐right evaluation of equal precedence operators. The new Department of Defense DoD language Ada allows the programmer to define new operators, but restricts them to language‐defined operator symbols with language‐defined priorities: in other words, only user‐defined bodies. The language rules concerning operators are therefore stronger, and imply properties of operators: ‘axioms’, which should apply even for use‐rdefined bodies. The paper discusses sensible constraints which should be accepted for user‐defined operatorsAn earlier version of this paper was presented at the IFIPWG2.4 (System Implementation Languages) meeting at Twente, June 1978. The author thanks members of WG2.4 for their comments. .

Full Text
Paper version not known

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.