H (Hybrid) Language - v0.03, by Dr. Herong Yang
Operations Are Aliases of Function Calls
This section shows that operations are aliases of functions.
Operations are aliases of function calls.
Examples of function calls that performs some commonly used operations:
1. Integer add "+" operation is an alias of integer function call: integer.add():
integer.add(1,2); 1 + 2; # alias of the above function call
2. Integer greater-than ">" operation is an alias of integer function call: integer.greaterThan():
integer.greaterThan(1,2); 1 > 2; # alias of the above function call
Table of Contents
►Operations Are Aliases of Function Calls
Evaluation Order of Multiple Operators
Inheritance - Object Attachments