[Newcompiler] Properties for AST

Mathieu Suen mathieusuen at yahoo.fr
Mon Apr 9 14:15:20 UTC 2007


On Apr 9, 2007, at 3:51 PM, Andrew Tween wrote:

> I remember a discussion after a UK smalltalk User group meeting  
> last year where
> the question of whether it was better to store source or an AST  
> came up. From
> what I remember, most people thought that storing an AST was  
> better. I made the
> point then that if an AST can be transformed into source, and if  
> source can be
> transformed into an AST, then the two are equivalent, and it  
> doesn't matter
> which is stored except for considerations of memory/disk space, the  
> overhead of
> performing each transformation, etc.

Don't forget that having all the AST consume time.

	Mth




	

	
		
___________________________________________________________________________ 
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