Closed hidmic closed 5 years ago
Also, a big thing that is missing (but possibly orthogonal to these approaches) is substitutions and how they would be handled.
And I think that's exactly why I skipped them in the first place. The document now covers a bit on how substitutions could be handled. PTAL! And thanks for reviewing it in the first place!
@hidmic I addressed the comments, and updated it to match better with the actual implementation (it was actually matching pretty well).
I think this PR is ready. We will deal with event_handlers in the next iteration, but I didn't delete reference to them as this is a design hints document.
This is a proposal on how to go about implementing something like #207 in an extensible way. Approaches described in here are a combination of ideas I had and ideas that @wjwwood had and shared with me, thus the dual authorship.
I hope that by the time this gets merged we either have chosen one of these approaches or came up with a another one to actually implement.