unison icon indicating copy to clipboard operation
unison copied to clipboard

monadic / selective names lookup for parsing & pretty-printing

Open aryairani opened this issue 2 years ago • 6 comments

As codebases are growing, it's increasingly intractable to pre-load all names, even with history excluded. (This applies to both UCM and Share.)

We want to just load the names that are needed for parsing (for specific lexed identifiers) or rendering (for specific dependencies).

aryairani avatar Jul 11 '22 19:07 aryairani

I thought Share already did something fancy for this... no?

pchiusano avatar Jul 11 '22 19:07 pchiusano

Err, right, good point. Share does something fancy for this (not positive if it covers all use cases, though it may), but UCM doesn't yet.

aryairani avatar Jul 12 '22 01:07 aryairani

Share does load all names in order to construct the pretty-print environment.

mitchellwrosen avatar Jul 12 '22 01:07 mitchellwrosen