Prolog 디버거와 선언적 프로그래밍: 예제
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.
초록
본 논문은 "Prolog 디버거와 선언적 프로그래밍"이라는 동반 논문에서 논하는 선언적 프로그래밍에 대한 Prolog 디버거의 적절성 (in)adequacy 를 논의하기 위한 예시들을 포함한다. 논리 프로그래밍은 선언적 프로그래밍 패러다임이다. Prolog 프로그래밍 언어는 논리 프로그래밍을 가능하게 한다 (적어도 상당한 정도까지). 그러나 Prolog 디버거는 운영적 의미론 (operational semantics) 만으로 작동하므로 선언적 프로그래밍과 호환되지 않는다. 동반 논문은 선언적 관점에서 이를 사용하는 방법을 모색한다. 여기서는 이를 적용하는 예시들을 제공한다.
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.