rescript-lang/rescript

Support shift operators

Opened this issue · 1 comments

As following task of #7057

JS-like shift operators need to be implemented as unified operators

Old names should be kept for compatibility, but introducing longer clear names would be good. e.g. leftShift, unsignedRightShift

>>> only accepts int, but is a unified operator for consistency.

This adds new token rules to the syntax, follow-up tasks for editor support will be opened.

Assigned to @gwansikk