The query-compiler package is a set of tools for the inspection of the process of query compilation. It shows how a SQL query is parsed, desugared, translated in relational algebra and optimized. The user interface is web-based, implemented using stratego-net and xml-tools. Of course the components of the query-compiler are also available as command-line utils.

The query-compiler is based on the sql-front and relational-algebra packages. sql-front is used to parse a SQL query to an abstract syntax for SQL. The relatonal-algebra packages implements the optimization of relational algebra and the renderering of relational algebra expressions in MathML?.

Download and installation

   svn checkout
The packages requires (configuration with): Configure the package --with-cgi-bin if you want to install the web-based user interface directly into your cgi-bin.

Online Demo

The query compiler is available online. The testsuite lists some example queries that can be compiled:

Revision: r1.4 - 27 Jun 2004 - 19:49 - MartinBravenboer
Copyright © 1999-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback