Reflective programming in the relational algebra

Jan Van den Bussche, Dirk Van Gucht, Gottfried Vossen

1993 · 27 citations · 23 references

Concepts

Abstract

In reflective programming languages it is possible for a program to generate code that is integrated into the program's own execution. We introduce a reflective version of the relational algebra. Reflection is achieved by storing and manipulating relational algebra programs as relations in the database. We then study the expressibility and complexity of the reflective algebra thus obtained. It turns out that there is a close correspondence between reflection and bounded looping. We also discuss the applicability of the reflective algebra.

References

23