Conversation

The key insight behind set of scopes is just... Wow. It's like a piñata for name lookup. Instead of thinking in strings/renaming/source ranges/what have you, you approach the problem in a more systematic way and boom, so many nice things fall out.
1
4
I wonder if, using this idea, you can make a name resolution library (especially for host languages without fancy macros). You create bindings and scopes using certain APIs and you get (multi-threaded? cached?) name resolution "for free", including in the presence of macros.
2
1
I've been re-reading the paper after having bounced off of it earlier; happy to discuss more via DM if you're interested. 😄
1