rescript-lang / rescript

ReScript is a robustly typed language that compiles to efficient and human-readable JavaScript.
https://rescript-lang.org
Other
6.76k stars 452 forks source link

Support bitwise operators #7172

Open cometkim opened 1 day ago

cometkim commented 1 day ago

As following task of #7057

JS-like bitwise 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. bitwiseAnd, bitwiseOr

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

cometkim commented 3 hours ago

Assigned to @MiryangJung