kirancodes.me
To Proof Maintenance & Beyond!

Query-based object-oriented programming: a declarative web of objects

Yoav Seginer, Theo Vosse, Gil Harari, Uri Kolodny

Abstract

We present a declarative, object-oriented language in which queries play a central role. Queries are used not only to access data, but also to refer to the application’s object members and as a means of program control. The language is fully declarative, with queries and other pure functions defining the relations between the attributes of different objects. A rule-base-like write operation allows state to be updated. Control is achieved by queries selecting the class variants (mixin classes) which are active in each object. The dynamic activation and deactivation of declarative mixin classes allows decomposition of functionality into small reusable classes.

Related papers