IMPROVING CONTROL OF LOGIC PROGRAMS BY USING FUNCTIONAL LOGIC LANGUAGES

被引:0
|
作者
HANUS, M
机构
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper shows the advantages of amalgamating functional and logic programming languages. In comparison with pure functional languages, an amalgamated functional logic language has more expressive power. In comparison with pure logic languages, functional logic languages have a better control behaviour. The latter will be shown by presenting methods to translate logic programs into a functional logic language with a narrowing/rewriting semantics. The translated programs produce the same set of answers and have at least the same efficiency as the original programs. But in many cases the control behaviour of the translated programs is improved. This requires the addition of further knowledge to the programs. We discuss methods for this and show the gain in efficiency by means of several examples.
引用
收藏
页码:1 / 23
页数:23
相关论文
共 50 条
  • [1] From Logic to Functional Logic Programs
    Hanus, Michael
    [J]. THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2022, 22 (04) : 538 - 554
  • [2] Improving functional logic programs by difference-lists
    Albert, E
    Ferri, C
    Steiner, F
    Vidal, G
    [J]. ADVANCES IN COMPUTING SCIENCE-ASIAN 2000, PROCEEDINGS, 2000, 1961 : 237 - 254
  • [3] Improving control in functional logic program specialization
    Albert, E
    Alpuente, M
    Falaschi, M
    Julián, P
    Vidal, G
    [J]. STATIC ANALYSIS, 1998, 1503 : 262 - 277
  • [4] Overlapping rules and logic variables in functional logic programs
    Antoy, Sergio
    Hanus, Michael
    [J]. LOGIC PROGRAMMING, PROCEEDINGS, 2006, 4079 : 87 - 101
  • [5] SIMPLIFY CONTROL PROGRAMS USING LOGIC COMMANDS
    HEIST, PA
    [J]. DESIGN NEWS, 1978, 34 (24) : 68 - &
  • [6] FUNCTIONAL COMPUTATIONS IN LOGIC PROGRAMS
    DEBRAY, SK
    WARREN, DS
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 1989, 11 (03): : 451 - 481
  • [7] Correction of functional logic programs
    Alpuente, M
    Ballis, D
    Correa, FJ
    Falaschi, M
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, 2003, 2618 : 54 - 68
  • [8] A LOGIC FOR NONDETERMINISTIC FUNCTIONAL PROGRAMS
    GILLUEZAS, A
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1989, 380 : 197 - 208
  • [9] A memoizing semantics for functional logic languages
    España, S
    Estruch, V
    [J]. PROGRAMMING LANGUAGES AND SYSTEMS, 2004, 2986 : 109 - 123
  • [10] Decidable Logic in the Design of Functional Languages
    Huang, Hao
    Long, Huan
    [J]. PROCEEDINGS OF 2012 2ND INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND NETWORK TECHNOLOGY (ICCSNT 2012), 2012, : 261 - 265