Skip to content

Conversation

@szuend
Copy link
Collaborator

@szuend szuend commented Oct 2, 2025

This PR does the equivalent for #220 but for generated ranges.

For sub-range bindings there are two different approaches we can take:

  • Pass _bindings_ into a sub-range SDO and update _bindings_[_index_] as it is decoded.
  • Add a new sub-range binding record ( { index: number, bindings: BindingRecord[] }) and add an SDO that returns an array of these sub-range binding records of all the immediate |GeneratedSubRangeBinding| children. These are then later combined with _bindings_.

In the spirit of not modifying state, this PR chooses the latter but I don't mind changing it to the former if that is preferred.

Drive-bys:

  • Rename |RangeBindingList| to |BindingExpressionList| and unify |RangeBinding| with |BindingExpression|.
  • Fix linking for binding records and named mappings.

@szuend szuend requested a review from nicolo-ribaudo October 2, 2025 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant