issues
search
delta229
/
ctl
The CTL programming language
Apache License 2.0
0
stars
0
forks
source link
Operator overriding
#10
Closed
nw-github
closed
6 months ago
nw-github
commented
6 months ago
[x] Override binary operators + - * / % << >> ^ & |
and their assignment counterparts
(whoops I hallucinated that one)
[x] Override binary comparison operators < > <= >= <=> == !=
[x] Override unary operators - ! ++ -- and their postfix counterparts
[x] Unary operator override (-, !, ++, --, etc.) Still TODO:
Allow overloading with multiple types
Subscript operator (x[y], &x[y], &mut x[y], x[y] = z)
Syntactic sugar
and their assignment counterparts(whoops I hallucinated that one)