You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
What this is allowing scope items to be used before they're defined (which also makes cyclically-dependent modules possible).
How would this be implemented? I'm not sure. One approach is to replace all direct usages of ScopeItem with listeners that are called when an item with that name is added to the scope. Another approach would be to make two passes over the AST, one to declare a scope items, and another to actually define them. Yet another approach (one which I'm leaning towards as it seems more feasible) is to modify the current DET system to instead use the AST as the information store, and have findAll directly traverse the AST instead of a scope's own item list. The only major issue I can think of with the last option is generics. Maybe it should use the DH (detail handles) instead of the AST 🤔.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What this is allowing scope items to be used before they're defined (which also makes cyclically-dependent modules possible).
How would this be implemented? I'm not sure. One approach is to replace all direct usages of
ScopeItem
with listeners that are called when an item with that name is added to the scope. Another approach would be to make two passes over the AST, one to declare a scope items, and another to actually define them. Yet another approach (one which I'm leaning towards as it seems more feasible) is to modify the current DET system to instead use the AST as the information store, and havefindAll
directly traverse the AST instead of a scope's own item list. The only major issue I can think of with the last option is generics. Maybe it should use the DH (detail handles) instead of the AST 🤔.The text was updated successfully, but these errors were encountered: