XQC: A Compiler for XQuery

Fei Yuan,Yue Chen,Husheng Liao
DOI: https://doi.org/10.1109/CSSE.2008.770
2008-01-01
Abstract:XQuery is a XML query language proposed by W3C and a good many researches are involved for the implementation of XQuery. While many implementations adopt interpret solutions, XQC is a compiler for XQuery 1.0 which can compile XQuery program to the low level binary code - Java bytecode, and provides opportunities for performance improving. XQC has a well-designed architecture which makes various optimization strategies can be introduced into different compilation phases, and consequently, the compiled bytecode turns out to be efficient during execution, especially during repetitive execution. This paper presents XQC solution through an overview of the architecture which is composed of 4 core modules: preprocessor, FXQL code generator, SECD code generator, and bytecode generator, also it covers the tradeoffs in the core modules in detail and the performance of XQC by experiment.
What problem does this paper attempt to address?