Research on Eliminating Redundancies of GCC AST Text

LI Xin,WANG Tian-tian,SU Xiao-hong,MA Pei-jun
DOI: https://doi.org/10.3969/j.issn.1002-137X.2008.10.043
2008-01-01
Computer Science
Abstract:There exist a lot of redundancies in AST text produced by GCC complier in the process of syntax analysis to a C program.If AST text is parsed directly,it will lead to a bad result that the efficiency of the parsing process is low and lots of memory is used by AST.In order to solve this problem,a highly efficient algorithm is put forward to eliminate redundancies based on a thorough research on the structure of GCC AST text and the parsing process.The correctness and practicality were proved by experiments and the mathematical definition of AST parsing was proposed.
What problem does this paper attempt to address?