|
|
||||
|
Login
|
Saturday, January 20
by
Michael Kay
on Sat 20 Jan 2007 00:04 GMT
I'm back to work on the Java code-generation for XQuery. The challenge is to improve the test coverage. With 14000 tests in the W3C test suite, one would think the coverage would be pretty good; but the problem is that many of the tests use literal constants, which means the whole query can be evaluated statically by the XQuery analyzer, before the code generator gets a look in. Early evaluation of expressions at compile time is known rather quaintly in the compiler literature as "constant folding". We should be able to improve the coverage of the code generator testing simply by not doing constant folding.... more »
|
Search
Recent Comments
Month Archive
|
||