dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Testing of ILASM:


From: Gopal V
Subject: Re: [DotGNU]Testing of ILASM:
Date: Fri, 3 Jan 2003 18:15:03 +0530
User-agent: Mutt/1.2.5i

If memory serves me right, Jeroen Frijters wrote:
> I strongly disagree. Round-tripping can be an extreme powerful learning
> tool! Sometimes it's just way too much effort to write a complete IL
> program, but you can easily write it in C# 

That's why we have the -S option for CSCC

bash$ cscc -S hello.cs
...edit hello.il....
bash$ cscc -o hello.exe hello.il

give a hello.il which would be similar to what you call round tripping ...

So the via IL mode is easily possible with the CSCC compiler, though
direct compilers might need round tripping via disassembler...

In fact, I had done up a pinvoke.sh which used regular expression to add
PInvoke support for CSCC in the old days when it didn't support attributes.

So round tripping only makes sense when we have to refine & and reassemble
stuff like the VC.Net output ...

> http://ikvm.net/ -- Java VM for .NET

I have had a good look at the ikvm project (for reasons of testing our
C# -> JVM compiler) .... I was surprised to see an mscorlib.jar there,
could you explain how that thing works ? (or how it was obtained ?).

Gopal
-- 
The difference between insanity and genius is measured by success


reply via email to

[Prev in Thread] Current Thread [Next in Thread]