[Mono-list] XSP

Daniel Stodden stodden@in.tum.de
03 Jun 2002 14:05:55 +0200


On Sun, 2002-06-02 at 00:36, Miguel de Icaza wrote:
> > Currently xsp can do c#. On ms.net VB.net, JScript.net and all other languages can be done, too.
> > How does that work? Do they have an xsp for every compiler? How will mono do that?
> 
> They use the CodeDOM interface to "generate" the code.  Then there are
> multiple "providers", you get a provider for each compiler, and they
> transform your nodes into something usable.
> 
> Eventually we will do the same, but right now, for the sake of getting
> XSP of the ground, we are focusing on the larger problem: getting the
> pipeline to work on Linux.

in case someone decides to look into these features:
CodeDOM has gone to almost 100% in the meanwhile.
The CodeGenerator baseclass and a derived CSharpCodeGenerator is in CVS.
Did not have the time yet to complete it. Missing output methods for
some CodeDom types and lack of proper identifier escaping and
validation. But it should provide a reasonably solid foundation to 
start concentrating on applications.

i probably won't find the time to finish it at least for the next 10
weeks (sorry, final exams), but if someone decides to give it a try or
add more languages: drop me a note if you have questions.

> Transforming the code from `printf ("class %s : %s", ...)' to something
> that uses the CodeDOM should be pretty straight forward, but not
> something that is worth spending the time right now: our cycles are
> better spent on becoming functional on Linux at this point.

regards,
dns

-- 
___________________________________________________________________________
 mailto:stodden@in.tum.de