jmeaster30 / ocean

A C-like programming language (get it like sea-like like an ocean lol)
GNU General Public License v3.0
0 stars 0 forks source link

add operator overloading #17

Closed jmeaster30 closed 11 months ago

jmeaster30 commented 2 years ago

'op' optional underscore symbol optional underscore function

defines function to run for the supplied operator symbol. The underscores mark if the operator is the prefix, postfix, or infix version.

The types that the operator takes in and the type the operator produces is defined by the supplied function.

jmeaster30 commented 11 months ago

closing obsolete ocean issues