codalien/operator-overloading-js

Alternative (escaping?) operator suggestion

Opened this issue · 1 comments

Hello. I suggest alternative operator, that does not used in overloading.

c = a $[+] b; //Not overloadable operator, but this is plus

Also, how to overload assign operator?

Ah! ok so you mean when we need to do actual + in case its overloaded.
I think we need a lexically correct JS syntax to mark it. Because we do not want base AST parser to fail.