Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add bracket syntax for addresses #21

Closed
jcelerier opened this issue Feb 1, 2016 · 2 comments
Closed

Add bracket syntax for addresses #21

jcelerier opened this issue Feb 1, 2016 · 2 comments
Assignees
Milestone

Comments

@jcelerier
Copy link
Member

In reference to ossia/score#128

Maybe this could be done by an attribute to the Destination class that would take a vector of ints ? (I did this in i-score)

If the vector is empty, it's the address, else we use the values in the vector to go from index to index.

e.g. something like :

Destination dest("dev:/address");
dest.setAccessors({13, 5, 17}); // will fetch dev:/address[13][5][17]

Else it could be another type, like TupleDestination.

@theod theod self-assigned this Feb 5, 2016
@theod theod added this to the release/1.1 milestone Feb 5, 2016
@theod
Copy link
Member

theod commented Feb 5, 2016

as I was working on mapping feature, I've added index feature for Destination.
does the following commit helps to solve this issue ?613b21f

@jcelerier
Copy link
Member Author

Yep, I also added it into i-score now. Thanks !

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

No branches or pull requests

2 participants