Miguel de Icaza wrote:
Ok. looks to me like janet's JGenCSharp.cs could then also have been written with the CodeProvider classesIf we have CodeProvider classes, can we use these for the compiler? (in other words, the compiler would just be a 'commandline wrapper' around the CodeProvider class).This is a common mistake (I fell for this too when doing mcs).
The CodeProvider is only used to generate *source code*, not to generate
or compile code. You have to write a Reflection.Emit backend.
(since it generates textual 'csharp' output).
Any idea where the CodeProvider generally is used for? (example: IDE code generation wizards?)
---
Jeroen
_______________________________________________
Mono-list maillist - [EMAIL PROTECTED]
http://lists.ximian.com/mailman/listinfo/mono-list
