Free Objects in Constraint-logic Object-oriented Programming

Dageförde Jan C., Kuchen Herbert

Arbeitspapier / Working Paper | Peer reviewed

Zusammenfassung

Constraint-logic object-oriented programming is useful in the integrated development of businesssoftware that occasionally solves constraint-logic problems. So far, work in constraint-logic object-oriented programming was limited to considering constraints that only involve logic variables ofprimitive types; in particular, boolean, integer, and floating-point numbers. However, the availabilityof object-oriented features calls for the option to use logic variables in lieu of objects as well. Therefore, support for reference-type logic variables (orfree objects) is required. With the presentwork, we add support for reference-type logic variables to a Java-based constraint-logic object-oriented language. Allowing free objects in statements and expressions results in novel interactionswith objects at runtime, for instance, non-deterministic execution of invocations on free objects(taking arbitrary class hierarchies and overriding into account). In order to achieve this, we alsopropose a dynamic type constraint that restricts the types of free objects at runtime

Details zur Publikation

ErscheinungsortMünster
Titel der ReiheWorking Papers, European Research Center for Information Systems (ISSN: 1614-7448)
Nr. in Reihe32
StatusVeröffentlicht
Veröffentlichungsjahr2020
Sprache, in der die Publikation verfasst istEnglisch
Link zum Volltexthttps://www.ercis.org/sites/ercis/files/structure/network/research/ercis-working-papers/ercis_wp_32.pdf
StichwörterConstraint-logic object-oriented programming; reference-type logic variables; programming lan-guage implementation; runtime systems

Autor*innen der Universität Münster

Dageförde, Jan
Lehrstuhl für Praktische Informatik in der Wirtschaft (Prof. Kuchen) (PI)
Kuchen, Herbert
Lehrstuhl für Praktische Informatik in der Wirtschaft (Prof. Kuchen) (PI)