[NewCompiler] Proposition of token list in scanner

Stéphane Ducasse stephane.ducasse at univ-savoie.fr
Thu Sep 14 12:17:33 UTC 2006


sounds interesting

On 14 sept. 06, at 12:38, Mathieu Suen wrote:

> Hi,
>
> I have a proposition coming from Andrew Tween tell me if you think  
> that can be useful:
>
> We can link token in the scanner. So we can havesomthing like:
>
> 'aToken next' or 'aToken previous'
>
> This could help to find comment and whitespace. So we would have a  
> tree that content token and we
> could navigate through it.
>
> And we can build a Visitor that can get back comments, parentheses...
>
> What do you think?
>
> 	Math
>
> 	
>
> 	
> 		
> ______________________________________________________________________ 
> _____
> Découvrez un nouveau moyen de poser toutes vos questions quelque  
> soit le sujet !
> Yahoo! Questions/Réponses pour partager vos connaissances, vos  
> opinions et vos expériences.
> http://fr.answers.yahoo.com
>



More information about the Newcompiler mailing list