Skip to content
Sections
Personal tools
You are here: Home Members Damien Sereni Research Projects Program Queries: Declarative Specifications for Program Properties
Document Actions

Program Queries: Declarative Specifications for Program Properties

Last modified 08 March 2008

Program queries are an appealing way of writing properties of programs: using a declarative query language such as Datalog, program properties can be expressed concisely, paving the way for user-written correctness queries (for instance to enforce project-specific coding conventions)

The real challenge, however, lies in strategies for executing such queries efficiently. My recent work has been concerned with optimisations of Datalog programs to improve query times. One such optimisation is the magic sets transformation, a well-known optimising transformation from the databases community. We found that in order to apply magic sets effectively on automatically generated Datalog programs, however, a novel way of determining the best order in which to consider goals in a query was necessary. This led to very substantial performance improvements in running queries.

References

 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: