On Feasibility of Declarative Diagnosis

08/30/2023
by   Włodzimierz Drabent, et al.
0

The programming language Prolog makes declarative programming possible, at least to a substantial extent. Programs may be written and reasoned about in terms of their declarative semantics. All the advantages of declarative programming are however lost when it comes to program debugging. This is because the Prolog debugger is based solely on the operational semantics. Declarative methods of diagnosis (i.e. locating errors in programs) exist, but are neglected. This paper discusses their possibly main weaknesses and shows how to overcome them. We argue that useful ways of declarative diagnosis of logic programs exist, and should be usable in actual programming.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
06/11/2019

The Prolog debugger and declarative programming

Logic programming is a declarative programming paradigm. Programming lan...
research
03/03/2020

The Prolog Debugger and Declarative Programming. Examples

This paper contains examples for a companion paper "The Prolog Debugger ...
research
05/28/2017

Extending programs with debug-related features, with application to hardware development

The capacity and programmability of reconfigurable hardware such as FPGA...
research
05/03/2020

Certified Semantics for Relational Programming

We present a formal study of semantics for the relational programming la...
research
05/24/2022

Modeling Asymptotic Complexity Using ACL2

The theory of asymptotic complexity provides an approach to characterizi...
research
03/02/2021

The Fusemate Logic Programming System (System Description)

Fusemate is a logic programming system that implements the possible mode...
research
05/10/2021

How could Neural Networks understand Programs?

Semantic understanding of programs is a fundamental problem for programm...

Please sign up or login with your details

Forgot password? Click here to reset