AstroGrid

This website (www2.astrogrid.org) is now deprecated - please go to www.astrogrid.org for up to date information.

Document Actions

Adql Compiler

Up one level
Work in progress. Some documents, details and code regarding a compiler to turn Adql/s into Adql/x
Introduction
Working details of a compiler to turn a string form of ADQL into xml format. ADQL is the Astronomical Data Query Language, based on a subset of SQL92. The compiler follows closely the ADQL specification as at April 2007. Variations are detailed in the BNF diagrams.
adql-notes.doc
Notes regarding the development of the compiler. More specific notes regarding syntax and variations from the spec are contained in the BNF diagrams.
ADQL v2.0 In BNF format
BNF Syntax diagrams. Each construct is an active link. As close to the April 2007 ADQL spec as I can manage. Variations from the spec are commented upon. There are some experimentations to do with user-defined functions, region predicate, and the possibility of including scripting variables within a query. The preview compiler is at this level.
adqlcompiler-preview-20070823.zip
Adql compiler, all required supporting jars, plus two shell scripts to run the compiler from the command line either interactively or in batch mode.