Skip to content

Bitwise expression evaluation? #7281

Closed
Closed
@halostatue

Description

@halostatue

I just had reason to use bitwise math expressions in a bash script, and realized that it could be useful to have in Fish, as well. Unfortunately, codeplea/tinyexpr#22 (comment) indicates that, absent the use of a fork (BobBurns/tinyexpr), tinyexpr will not support bitwise expressions (the reasoning for this is good).

I’m wondering if there’s a way to add these. For the specific use case I have (conditional command execution), it is possible to use contains, but there are other cases where it might be useful to have bitwise operations.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions