Research and Implementation of Some Key Problems about the Front-end Compiler Based on ANTLR

Wang Hai-ya · Journal of Changchun Institute of Technology · 2013

The compiler front end is structured by the LL(*)grammar of ANTLR automatic generation tool.Its key problems include the left recursive of the grammar,the association of the operators,the priority of the operators,and the predicate of the grammar.The feasible solution is obtained through the research on the above key problems.The experiment results show that the problems of the code compile based on ANTLR are effectively solved by this solution,which has the good operability and practicality.

Read the paper · More papers on PaperTik