
handle: 10419/223243
Constraint-logic object-oriented programming is useful in the integrated development of business software that occasionally solves constraint-logic problems. So far, work in constraint-logic objectoriented programming was limited to considering constraints that only involve logic variables of primitive types; in particular, boolean, integer, and floating-point numbers. However, the availability of object-oriented features calls for the option to use logic variables in lieu of objects as well. Therefore, support for reference-type logic variables (or free objects) is required. With the present work, we add support for reference-type logic variables to a Java-based constraint-logic objectoriented language. Allowing free objects in statements and expressions results in novel interactions with 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 also propose a dynamic type constraint that restricts the types of free objects at runtime.
Working Paper Sketch ..... 3 1 Programming with Free Objects ..... 4 2 Constraint-logic Object-oriented Programming with Muli ..... 5 2.1 Setting the Stage for Free Objects ..... 7 3 Method Invocations on Free Objects ..... 11 4 Field Access on Free Objects ..... 13 5 Other Operations on Free Objects ..... 14 5.1 Type Operations ..... 14 5.2 Equality ..... 15 6 Demonstration ..... 16 7 Related Work ..... 18 8 Concluding Remarks ..... 19 A Operational Semantics of Muli (Excerpt) ..... 20 B Implementation of Board and Queens ..... 22 References ..... 23
ddc:004, reference-type logic variables, info:eu-repo/classification/ddc/330, 330, ddc:330, Economics, ddc:650, 004 Computer science, runtime systems, 650, Computer science, 004, 330 Economics, Constraint-logic object-oriented programming, programming language implementation, Constraint-logic object-oriented programming; reference-type logic variables; programming language implementation; runtime systems, programming language implementation; runtime systems, info:eu-repo/classification/ddc/004, constraint-logic object-oriented programming
ddc:004, reference-type logic variables, info:eu-repo/classification/ddc/330, 330, ddc:330, Economics, ddc:650, 004 Computer science, runtime systems, 650, Computer science, 004, 330 Economics, Constraint-logic object-oriented programming, programming language implementation, Constraint-logic object-oriented programming; reference-type logic variables; programming language implementation; runtime systems, programming language implementation; runtime systems, info:eu-repo/classification/ddc/004, constraint-logic object-oriented programming
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
