<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I don't believe its impossible either, but I was thinking, as a purely
functional language (if that makes a difference?)<br>
Is there any set of computations that xquery couldn't theoretically
execute, that say a procedural language could ?<br>
<br>
<br>
Michael Kay wrote:
<blockquote cite="mid:9DD2F7971B654583A07553A4E3C3348D@Sealion"
 type="cite">
  <blockquote type="cite">
    <pre wrap="">It might be *possible* to do in XQuery but its not a simple 
"translation" of one query language to another, it would take 
writing an inference engine in xquery.  quite a project.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
If you can write an interpreter for a query language then you can write a
compiler for it. And compiling into XQuery is probably easier than compiling
into machine code. So as far as I can see, it doesn't look intrinsically
impossible at all.

Michael Kay
<a class="moz-txt-link-freetext" href="http://www.saxonica.com/">http://www.saxonica.com/</a>

_______________________________________________
<a class="moz-txt-link-abbreviated" href="mailto:talk@x-query.com">talk@x-query.com</a>
<a class="moz-txt-link-freetext" href="http://x-query.com/mailman/listinfo/talk">http://x-query.com/mailman/listinfo/talk</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
-----------------------------------------------------------
David A. Lee
<a class="moz-txt-link-abbreviated" href="mailto:dlee@calldei.com">dlee@calldei.com</a>  
<a class="moz-txt-link-freetext" href="http://www.calldei.com">http://www.calldei.com</a></pre>
</body>
</html>