Could language compilers be a NET app?

  • Thread starter Thread starter David Frank
  • Start date Start date
D

David Frank

There are some glimmers of off-Intel net support, I was wondering if
its
theoretically possible to write a language compiler that was portable
to another platform?
 
Sure. SharpDevelop is a compiler that was written in C# that compiles C#
and VB.NET code.

It might be too early to tell how standard .NET will be, but once the
standardization is complete, there should be no problem.

One thing right now is that UIs are platform-dependent since they often call
to low level APIs to perform the rendering.
 
Peter Rilling said:
Sure. SharpDevelop is a compiler that was written in C# that compiles C#
and VB.NET code.

Umm, last I checked SharpDevelop was an IDE, not a compiler.
However, I'm pretty sure mono's c# compiler was written in c#. Rotor also
provides a C# version of a jscript compiler I believe (someone would have to
check those facts, don't have either on hand to be certain).
 
Sure, the JScript .NET compiler was entirely written in managed code.

Willy.
 
Back
Top