English

Extending Object-Oriented Languages by Declarative Specifications of Complex Objects using Answer-Set Programming

Programming Languages 2015-03-19 v2 Artificial Intelligence

Abstract

Many applications require complexly structured data objects. Developing new or adapting existing algorithmic solutions for creating such objects can be a non-trivial and costly task if the considered objects are subject to different application-specific constraints. Often, however, it is comparatively easy to declaratively describe the required objects. In this paper, we propose to use answer-set programming (ASP)---a well-established declarative programming paradigm from the area of artificial intelligence---for instantiating objects in standard object-oriented programming languages. In particular, we extend Java with declarative specifications from which the required objects can be automatically generated using available ASP solver technology.

Keywords

Cite

@article{arxiv.1112.0922,
  title  = {Extending Object-Oriented Languages by Declarative Specifications of Complex Objects using Answer-Set Programming},
  author = {Johannes Oetsch and Jörg Pührer and Hans Tompits},
  journal= {arXiv preprint arXiv:1112.0922},
  year   = {2015}
}

Comments

Submitted to the 34th International Conference on Software Engineering (ICSE), New Ideas and Emerging Results (NIER) track

R2 v1 2026-06-21T19:46:19.496Z