|
Re: Manager class: msg#00048lang.nemerle.devel
> What do you exactly mean with 'code duplication'? I know there's some I just change completion engine to use ManagerClass's InitCompiler and LoadExternalLibraries instead of performing operations copy pasted from there. I think the main objective is to make ManagerClass.Run method more flexible (it should call a bunch of virtual methods for every step or run a pipeline on small "compiler step" structures), so completion engine could just specify what is desired (recreating the hierarchy tree, parsing one file, or one method) and call Run from base class. Also I wonder if Options.PersistentLibraries can be used by completion engine - it avoids loading of libraries and creating hierarchy tree for them in several compiler runs. -- Kamil Skalski http://nazgul.omega.pl
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Manager class, Kamil Skalski |
|---|---|
| Next by Date: | Re: Manager class, Mark Haniford |
| Previous by Thread: | Re: Manager class, Kamil Skalski |
| Next by Thread: | Re: Manager class, Mark Haniford |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |