Open fakuivan opened 4 years ago
This isn't on my short list of things to do, but it would be nice to have. The current compiler infrastructure makes it very difficult to implement so it's probably gated on the array rewrite + new parser being completed.
The following code does not compile on spcomp 1.11
Even though a more silly example is possible using methodmaps
Having overloads for enum structs would be nice for integral types that do not fit on a single cell, since it would allow us to transparently do things like pointer math or big timestamp deltas. For non scalar types like vectors, the * operator could be used to compute dot products or things like that.