Thought this might be of interest:
http://blogs.msdn.com/ericlippert/archi ... sses.aspx'
Does Cobra make this many passes?
Forums
C# Compiler
2 posts
• Page 1 of 1
Re: C# Compiler
Cobra makes 11 passes. As with the C# compiler, not all aspects of a program are necessarily visited in a given pass.
You can examine Cobra\Source\Phases for a list of the phases. Some (all?) have doc strings describing them. You can also run "cobra -v" which will cause (among other output) each phase to name itself as it runs.
Note that because Cobra uses C# as a back-end it can be lazy about some things. We don't bother with IL generation since it's not clear there would be any advantage over Microsoft or Novell C#'s high quality IL generation.
You can examine Cobra\Source\Phases for a list of the phases. Some (all?) have doc strings describing them. You can also run "cobra -v" which will cause (among other output) each phase to name itself as it runs.
Note that because Cobra uses C# as a back-end it can be lazy about some things. We don't bother with IL generation since it's not clear there would be any advantage over Microsoft or Novell C#'s high quality IL generation.
- Charles
- Posts: 2515
- Location: Los Angeles, CA
2 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 86 guests