interpreter: add prefix/unary "^" (bitwise complement) operator · Issue #27 · gosh-lang/gosh · GitHub
Skip to content
This repository was archived by the owner on Jan 15, 2023. It is now read-only.
This repository was archived by the owner on Jan 15, 2023. It is now read-only.

interpreter: add prefix/unary "^" (bitwise complement) operator #27

Open

Description

@quasilyte

Suggested label: hacktoberfest.

Function to extend: evalPrefixExpression (located in interpreter/interpreter.go).
Test should be added in TestPrefixExpression (added in #25).

Activity

  1. AlekSi commented on Oct 3, 2018

    @AlekSi
    Member

    Will it require changes in the scanner and parser?

  2. quasilyte commented on Oct 3, 2018

    @quasilyte
    CollaboratorAuthor

    Hmm. Maybe, I haven't looked into it too carefully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or improvementhelp wantedSmall and self-contained issues for new contributors

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions