[nem-en] Completion thoughts

Kamil Skalski kamil.skalski at gmail.com
Thu Jun 1 18:02:19 CEST 2006


>
> Keep It Simple, ... :)
>

Yes, I would rather follow this rule :)
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.

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.
Separating it to another assembly would probably make things slower,
since there is a startup penatly for compilation of every new
assembly.


-- 
Kamil Skalski
http://nazgul.omega.pl



More information about the devel-en mailing list