[Mono-list] Re: System.CodeDom.Compiler licensing issues (was Hmmm...)

James Michael DuPont mdupont777@yahoo.com
Thu, 23 May 2002 22:58:54 -0700 (PDT)


> No, it would not.  The various interfaces in
> CodeDom.Compiler are
> basically interfaces to the equivalent to "system
> ("csc ...")".
> 
> CodeDom merely outputs the DOM to a temporary file,
> and calls the
> compiler.  Sorry to disappoint you.

That is just code generating c# out of the CodeDOM,
the output, what about input?

But there is also the parser side of the Compiler that

System.CodeDom.Compiler/CodeDomProvider.CreateParser

The ICodeParserInterface is described as such
"Developers of compilers can implement this interface
to support code parsing by designers."

Now generation of code from a Tree is easier and lesse
intense than the creation of code .

Miguel, 
Believe me, it is very similar to the introspector
project, and I wonder how you be address this issue,
because it is a major stumbling block for the
introspector project. 

I only wrote to you after thinking about this a alot.

This is not something you can solve quickly,
it is a very difficult issue that I would like to see 
addressed properly.  It has implications for many many
projects.  

Once you want to use the compiler from an X11 license,
and have access to the entire tree structure then you
can do any code transformation you want. 

Providing this interface as a X11 license to a GPLEd
project is a comprimise to your code security.

Mike

=====
James Michael DuPont

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com