Skip to content

Support bitwise operators #7172

@cometkim

Description

@cometkim
Member

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.

Activity

cometkim

cometkim commented on Nov 25, 2024

@cometkim
MemberAuthor

Assigned to @MiryangJung

moved this from Ready to Done in ReScript developmenton Apr 3, 2025
closed this as completedby moving to Done in ReScript developmenton Apr 3, 2025
cometkim

cometkim commented on Apr 3, 2025

@cometkim
MemberAuthor

Um, I think there are remaining operators to implement.

moved this from Done to In progress in ReScript developmenton Apr 3, 2025
fhammerschmidt

fhammerschmidt commented on Apr 3, 2025

@fhammerschmidt
Member

We just have XOR for now, right?

cometkim

cometkim commented on Apr 3, 2025

@cometkim
MemberAuthor

Right. And @MiryangJung said she can do others too

fhammerschmidt

fhammerschmidt commented on Apr 3, 2025

@fhammerschmidt
Member

Ok then! I took the liberty of changing your OP.

added this to the v12 milestone on May 5, 2025
modified the milestones: v12, v12.1 on Jul 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    In progress

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @cknitt@cometkim@fhammerschmidt

        Issue actions

          Support bitwise operators · Issue #7172 · rescript-lang/rescript