[nem-en] Completion thoughts
vc
vc at rsdn.ru
Thu Jun 1 18:39:43 CEST 2006
> The compiler API should be general and easy to use, because it is also
> accessed by macros. We should make Nemerle.Compiler a useful library
> for transformation, analysis and compilation of programs and changing
> the API to be useful in completion engine is a good way in that
> direction.
+1
> As for the separate assembly, I'm not sure if it would be really
> useful - most of the changes needed for completion engine needs to be
> performed inside the compiler's API, which must be refactored or
> generalized in several places. The completion engine itself should be
> just a thin subclass of ManagerClass, which would enable/disable some
> general compilation steps defined inside compiler.
Hm... Separating would promote to extracting of public interfaces.
> Separating it to another assembly would probably make things slower,
> since there is a startup penatly for compilation of every new
> assembly.
But in completion engine contain many auxiliary code which will need to be
written and debugged. And recompiles all compiler is inconvenient.
Vlad
More information about the devel-en
mailing list