[Newcompiler] How to decompile temporaries

Mathieu Suen mathieusuen at yahoo.fr
Tue Jun 26 12:42:50 UTC 2007


In fact I have written a Visitor to post-process the AST generate by  
the decompiler.
It also fix some temporaries that weren't properly add to the scope.

We should clean the way that scopes are build.
Haver you got some ideas?


I also should refactor the decompiler.

	Mth



On Jun 22, 2007, at 4:54 PM, Marcus Denker wrote:

> I don't thin that the decompiler should be too clever. Compiling  
> throws away information, and we should not be too clever to guess
> this lost information, as this guess will be wrong in most cases  
> anyway.
>
> Bytecode just sucks as an intermediate format, and all tries to  
> force it to be used as a losless intermediate just will be hacks...
>
> So fo the temps, the decompiler should do what the old decompiler  
> does: just add temps for the method.


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com


More information about the Newcompiler mailing list