O Depurador de Prolog e Programação Declarativa: Exemplos
The Prolog Debugger and Declarative Programming. Examples
The Prolog Debugger and Declarative Programming. Examples
@misc{drabent2020the,
title = {The Prolog Debugger and Declarative Programming. Examples},
author = {Włodzimierz Drabent},
year = {2020},
eprint = {2003.01422},
archivePrefix = {arXiv},
primaryClass = {cs.PL},
url = {https://arxiv.org/abs/2003.01422}
}
Drabent, W. (2020). The Prolog Debugger and Declarative Programming. Examples [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.01422
DRABENT W. The Prolog Debugger and Declarative Programming. Examples[EB/OL]. (2020-03-03)[2026-11-30]. https://arxiv.org/abs/2003.01422.
Resumo
Este artigo contém exemplos para o artigo complementar "The Prolog Debugger and Declarative Programming", que discute a (in)adequação do depurador Prolog para a programação declarativa. A programação lógica é um paradigma de programação declarativa. A linguagem de programação Prolog torna a programação lógica possível, pelo menos em grande parte. No entanto, o depurador Prolog funciona exclusivamente em termos da semântica operacional. Portanto, ele é incompatível com a programação declarativa. O artigo complementar busca métodos para utilizá-lo sob a perspectiva declarativa. Aqui, fornecemos exemplos de sua aplicação.
This paper contains examples for a companion paper "The Prolog Debugger and Declarative Programming", which discusses (in)adequacy of the Prolog debugger for declarative programming. Logic programming is a declarative programming paradigm. Programming language Prolog makes logic programming possible, at least to a substantial extent. However the Prolog debugger works solely in terms of the operational semantics. So it is incompatible with declarative programming. The companion paper tries to find methods of using it from the declarative point of view. Here we provide examples of applying them.