-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently there's a mismatch in the spec between how features and lookups are addressed:
- Lookups are always addressed by name. The name might be an integer.
- Features are addressed by their index. The index specified as the first token of feature lines is informational and ignored:
index <T> feature tag <T> list of lookups
The index is a number starting with 0 for the first entry. These numbers are ignored by the compiler but can be used as a reminder when the features are assigned to a script or language in the script table.
I suggest updating the spec to allow referring to features by name, which might be integers as well; or for backward compatibility, if a feature is referenced by an integer, that would be a feature index, but otherwise a feature name.
I'm going to implement something like this in my implementation, since I have the infrastructure set up already for lookups, and naming features is a rather useful feature.
WDYT?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels