Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 1,223 of 2,753    |
|    Jyrki Saarinen to Kaleb Pederson    |
|    Re: Books on compiler backends?    |
|    09 Feb 08 11:06:28    |
   
   From: jyrki@NOSPAMwelho.com.invalid   
      
   Kaleb Pederson wrote:   
      
   > Given my AST's, I now need to be able to handle tree transformations   
   > as I manipulate everything towards my target language. I've been   
   > trying to figure out things like the following:   
   >   
   > * if I should manually walk/manipulate the tree or use a tree grammar   
   > with a supporting tool (such as ANTLR's generated tree   
   > parser/rewriter)   
      
   Take a look at the SableCC. It produces standard Visitor design pattern code   
   after you have described the structure of your AST (it does it even without,   
   but that's not likely to be very useful).   
      
   --   
   Jyrki Saarinen   
   http://koti.welho.com/jsaari88/   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca