3 ms·
We give each name a unique id under the hood. At edit time the user chooses which one they want from a list. The actual AST only ever refers to ids and the name
by jamii 12y ago
We give each name a unique id under the hood. At edit time the user chooses which one they want from a list. The actual AST only ever refers to ids and the names are effectively just documentation.
This has the neat side-effect that ids are globally unique so you can figure out what libraries you need to pull down just by looking up ids in your package repository.