home bbs files messages ]

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,092 of 2,753   
   Roberto Waltman to richard.melikson@gmail.com   
   Re: parser for C -> AST   
   01 Oct 07 13:05:23   
   
   XPost: comp.lang.c   
   From: adelantado@rwaltman.com   
      
    richard.melikson@gmail.com wrote:   
   >I have to do some analysis of C code. Is it possible to find online a   
   >free parser for C that will generate some kind of syntax tree / AST ?   
   >All I could find is bits and pieces of lex/yacc files that don't   
   >compile, and I tried to look at TCC but its parser is intergrated with   
   >the generator in a stack-based manner, so no AST.   
      
   Check LCC ( http://www.cs.princeton.edu/software/lcc/ ) and the C   
   grammars for  PCCTS and ANTLR.   
      
   Roberto Waltman   
   .   
      
   --- 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