Hi, 

I wanted to see how gmcs generates assemblies, given that I want to do the same 
for the Scala.Net compiler [1] (which as of now generates .il files). 

I started exploring codegen.cs and found a reference to 
Mono.CompilerServices.SymbolWriter . That may save an intermediate step, but 
how about programmatically invoking the Mono IL Assembler [2] passing an 
in-memory .il file as input? (and BTW, can Jay generate C#-only parsers?) 

A code snippet on how to use Mono's ilasm as a component would be most welcome! 

Miguel 


[1] http://lamp.epfl.ch/~magarcia/ScalaCompilerCornerReloaded

[2] http://anonsvn.mono-project.com/viewvc/trunk/mcs/ilasm/ 


-- 
Miguel Garcia                                   
Swiss Federal Institute of Technology
EPFL - IC - LAMP1 - INR 328 - Station 14
CH-1015 Lausanne - Switzerland
http://lamp.epfl.ch/~magarcia/
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to