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 条
  • [31] Logic programming for verification of object-oriented programming law conditions
    de Freitas, Leandro
    Caraciolo, Marcel
    Cornelio, Marcio
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2007, 13 (06) : 721 - 736
  • [32] Object-oriented programming and protected objects in Ada 95
    Wellings, AJ
    Johnson, B
    Sanden, B
    Kienzle, J
    Wolf, T
    Michell, S
    RELIABLE SOFTWARE TECHNOLOGIES ADA-EUROPE 2000, 2000, 1845 : 16 - 28
  • [33] The application of Oriented Object technique in Constraint Logic Programming
    Lin, Q
    He, SY
    OBJECT-ORIENTED TECHNOLOGY, 1998, : 94 - 99
  • [34] Towards soft computing object-oriented logic programming
    Baldwin, JF
    Cao, TH
    Martin, TP
    Rossiter, JM
    NINTH IEEE INTERNATIONAL CONFERENCE ON FUZZY SYSTEMS (FUZZ-IEEE 2000), VOLS 1 AND 2, 2000, : 768 - 773
  • [35] BRIDGING THE GAP BETWEEN OBJECT-ORIENTED AND LOGIC PROGRAMMING
    KOSCHMANN, T
    EVENS, MW
    IEEE SOFTWARE, 1988, 5 (04) : 36 - 42
  • [36] KAOS: An object-oriented software tool for the objects definition, updating, querying and programming in an object-oriented environment
    Canos, JH
    Lozano, MD
    Ramos, I
    UNIVERSITY AND INDUSTRY - PARTNERS IN SUCCESS, CONFERENCE PROCEEDINGS VOLS 1-2, 1998, : 711 - 714
  • [38] COMBINING LOGIC-ORIENTED AND OBJECT-ORIENTED PROGRAMMING LANGUAGE PARADIGMS
    LEONARDI, L
    MELLO, P
    PROCEEDINGS OF THE TWENTY-FIRST, ANNUAL HAWAII INTERNATIONAL CONFERENCE ON SYSTEM SCIENCES, VOLS 1-4: ARCHITECTURE TRACK, SOFTWARE TRACK, DECISION SUPPORT AND KNOWLEDGE BASED SYSTEMS TRACK, APPLICATIONS TRACK, 1988, : B376 - B385
  • [39] OBJECT-ORIENTED PROGRAMMING WITHOUT AN OBJECT-ORIENTED LANGUAGE
    BOOCH, G
    SEIDEWITZ, E
    START, M
    FIRESMITH, D
    SIGPLAN NOTICES, 1986, 21 (11): : 508 - 508
  • [40] OBJECT-ORIENTED PROGRAMMING
    BAINES, R
    ELECTRONICS & WIRELESS WORLD, 1989, 95 (1638): : 370 - 374