Re: .NET compiler

Stephen Horne <>
Tue, 16 Sep 2008 23:36:22 +0100

          From comp.compilers

Related articles
.NET compiler (ajk) (2008-09-15)
.NET compiler (Felipe Angriman) (2008-09-16)
Re: .NET compiler (Stephen Horne) (2008-09-16)
Re: .NET compiler (Aaron Gray) (2008-09-18)
| List of all articles for this month |

From: Stephen Horne <>
Newsgroups: comp.compilers
Date: Tue, 16 Sep 2008 23:36:22 +0100
References: 08-09-070
Keywords: code
Posted-Date: 17 Sep 2008 07:58:01 EDT

On Mon, 15 Sep 2008 18:14:02 -0700 (PDT), ajk <>

>If I was contemplating doing a .NET compiler for a language, would it
>be better to generate ILAsm or some other higher-level .NET language?

One of the major features of .NET is supposed to be interoperability
between languages. This gives a third option - mix and match. Choose
an existing .NET HLL that provides a reasonable target model for your
core language features (probably C#, but the new Objective CAML based
F# may well be worth a serious look), and generate IL (or some other
..NET language) for any features that don't easily fit.

My guess is that you'll rarely need IL - but "need" is of course only
one reason for using it.

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.