J4

• 计算机科学 • Previous Articles     Next Articles

Design and Implementation of a Universaland Extensible Compiler Front-end Generator

JIN Long-fei, LIU Lei   

  1. College of Computer Science and Technology, Jilin University, Changchun 130012, China
  • Received:2004-09-16 Revised:1900-01-01 Online:2005-05-26 Published:2005-05-26
  • Contact: LIU Lei

Abstract: Traditional compiler front-end generators are not universal and extensible for the reason of their structures and algorithms. In order to solve this problem, a universal and extensible compiler front-end generator --JLUCC is provided and has been implemented. The implementation of JLUCC involves object-orientation, reflection and design patterns technologies. JLUCC is universal, extensible and easy-used. At last, JLUCC was validated in the practical procedure of developing a C/ATLAS compiler.

Key words: compiler front-end, grammar, compiler front-end gene rator, automatic generation

CLC Number: 

  • TP301