[Mono-list] Wanabees and mentors?
Miguel de Icaza
12 Sep 2001 15:09:02 -0400
> I was looking at the code tonight, and I really would love to understand
> what is this code is doing, but I find it *very* complex. I would
> especially like to understand how the compiler works. Perhaps someone to
> share the burden with would make things easier.
It might be useful to have some background information on compilers.
Just the basics: scanning and parsing.
The Mono compiler differs from other compilers in that it uses classes
to represent constructs that it parses. Look in the yacc parser for
constructs like this:
$$ = new If (...);
$$ = new While (...);
$$ = new Class (...);
You might want to look at the mcs/mcs/compiler.doc that explains the
general organization of the compiler as it stands right now.
> Also, if there is anyone who would like to act as a mentor, please let me
> know. Perhaps we can use the discussions to make up some documentation to
> help other cluebies get a grip on the complexity of this project (like
> "Understanding Mono for Wannabees", or something).
If you have specific questions, please feel free to ask them on the
forum, I am sure someone will reply.