Compiling XQuery to Java bytecodes

Per Bothner

<per@bothner.com>

June 2004

Presented June 18, 2004 at XIME-P in Paris.

PaperSlides

PDF,
HTML,
Docbook/XML source.

HTML (one page),
HTML (one page per slide),
XML source.

1. Introduction
2. Compiling to Bytecodes
3. Lazy vs direct evaluation
4. Streaming
5. Compiler overview
6. Expressions
7. Code generation
8. Optimizing for expressions
9. Compiling functions
9.1. Tail calls
9.2. Procedure values
9.3. Inlining
10. Node representation
11. Extensions
11.1. Calling Java Methods
11.2. Servlets
11.3. Interactive console
12. Status
Bibliography
Compiling XQuery to Java bytecodes
Qexo and Kawa
Lazy or eager evaluation
Event-driven data
Node representation
Compiler overview
Expressions
Code generation
Compiling for-expressions
Compiling functions
Tail calls
Node constructors
Extensions
Web applications
Status