01alchemist / TurboScript

Super charged typed JavaScript dialect for parallel programming which compiles to WebAssembly
Apache License 2.0
493 stars 35 forks source link

overloading build-in operators proposal #90

Open MaxGraey opened 7 years ago

MaxGraey commented 7 years ago

Proposal this expressions:

delete
typeof
instanceof
alingof
sizeof

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

winksaville commented 7 years ago

Are other operators overloadable, like the arithmetic operators?

On Sun, May 21, 2017, 4:10 PM Max Graey notifications@github.com 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 .

MaxGraey commented 7 years ago

@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