Skip to content

passing expressions as attribute names #7

Description

@ostap

accessing a field of an object (e.g. obj["field"]) can only be done using string literals (e.g. "field"). this enhancement should enable passing expressions as attribute names, (e.g. "field" ++ N). keep in mind that this change should not impact the performance, in other words obj["field"] should be evaluated at the same speed as it is today. this could be achieved by generating different instructions for the vm.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions