TurboScript icon indicating copy to clipboard operation
TurboScript copied to clipboard

overloading build-in operators proposal

Open MaxGraey opened this issue 7 years ago • 2 comments

Proposal this expressions:

delete
typeof
instanceof
alingof
sizeof

make as operators (has NODE_FLAG_OPERATOR) with ability or not overloading in turboscript

MaxGraey avatar May 21 '17 23:05 MaxGraey

Are other operators overloadable, like the arithmetic operators?

On Sun, May 21, 2017, 4:10 PM Max Graey [email protected] wrote:

Proposal this expressions:

deletetypeofinstanceof alingof sizeof

Should be operators (has NODE_FLAG_OPERATOR) with ability overloading in turboscript

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/01alchemist/TurboScript/issues/90, or mute the thread https://github.com/notifications/unsubscribe-auth/AA-hHBkKgbb76OGg23jr55h66I-nEw5zks5r8MRZgaJpZM4NhwTo .

winksaville avatar May 22 '17 00:05 winksaville

@winksaville I don't think so build-in operators overloaded but it would be nice. My main message is current expressions must be the operators not ordinal expressions

MaxGraey avatar May 22 '17 09:05 MaxGraey