Free Objects in Constraint-logic Object-oriented Programming

被引:2
|
作者
Dagefoerde, Jan C. [1 ]
Winkelmann, Hendrik [1 ]
Kuchen, Herbert [1 ]
机构
[1] Univ Munster, ERCIS, Munster, Germany
来源
PROCEEDINGS OF THE 23RD INTERNATIONAL SYMPOSIUM ON PRINCIPLES AND PRACTICE OF DECLARATIVE PROGRAMMING, PPDP 2021 | 2021年
关键词
Constraint-logic object-oriented programming; reference-type logic variables; programming language implementation; runtime systems;
D O I
10.1145/3479394.3479409
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Constraint-logic object-oriented programming facilitates the integrated development of business software that occasionally solves constraint-logic problems or makes other use of structured search. So far, work in constraint-logic object-oriented programming has been 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 work at hand, we add support for free objects to a Java-based constraint-logic object-oriented language, Muli. Allowing free objects in statements and expressions results in novel interactions with objects at run time, for instance, non-deterministic execution of polymorphic method invocations (taking arbitrary class hierarchies into account) and non-deterministic type operations. At run time, this is supported by a dynamic type constraint that restricts the possible types of a free object at non-deterministic choices.
引用
收藏
页数:13
相关论文
共 50 条
  • [11] AN INTEGRATION OF LOGIC AND OBJECT-ORIENTED PROGRAMMING
    MELLENDER, F
    SIGPLAN NOTICES, 1988, 23 (10): : 181 - 185
  • [12] Separation logic for object-oriented programming
    Parkinson, M. (mattpark@microsoft.com), 1600, Springer Verlag (7850):
  • [13] POOC - A platform for object-oriented constraint programming
    Schlenker, H
    Ringwelski, G
    RECENT ADVANCES IN CONSTRAINTS, 2003, 2627 : 159 - 170
  • [14] Constraint-Based Object-Oriented Programming
    Hofstedt, Petra
    IEEE SOFTWARE, 2010, 27 (05) : 53 - 56
  • [15] Constraint programming with object-oriented Petri nets
    Sanders, MJ
    1998 IEEE INTERNATIONAL CONFERENCE ON SYSTEMS, MAN, AND CYBERNETICS, VOLS 1-5, 1998, : 289 - 294
  • [16] CONSTRAINTLISP - AN OBJECT-ORIENTED CONSTRAINT PROGRAMMING LANGUAGE
    LIU, B
    KU, YW
    SIGPLAN NOTICES, 1992, 27 (11): : 17 - 26
  • [17] Constraint patterns as a basis for object-oriented programming
    Horn, Bruce
    SIGPLAN Notices (ACM Special Interest Group on Programming Languages), 1992, 27 (10):
  • [18] On complementary principles of object-oriented constraint programming
    V. A. Semenov
    K. V. Dragalov
    D. V. Ilyin
    S. V. Morozov
    O. V. Sidyaka
    Programming and Computer Software, 2010, 36 : 264 - 275
  • [19] On complementary principles of object-oriented constraint programming
    Semenov, V. A.
    Dragalov, K. V.
    Ilyin, D. V.
    Morozov, S. V.
    Sidyaka, O. V.
    PROGRAMMING AND COMPUTER SOFTWARE, 2010, 36 (05) : 264 - 275
  • [20] POOC - A platform for object-oriented constraint programming
    Schlenker, Hans
    Ringwelski, Georg
    Lecture Notes in Artificial Intelligence (Subseries of Lecture Notes in Computer Science), 2003, 2627 : 159 - 170