Preview

EXPANSION OF TURBO PROLOGUE PROGRAMMING SYSTEM BY PREDICATES FOR LIST PROCESSING

Abstract

Lists are considered as a main data structure in logic Turbo Prologue programming language. However the language does not contain in-set predicates (procedures) for list processing. In order to facilitate a problem programming process where lists are used it is proposed to apply a Turbo Prologue version that has a set of predicates in the form of recursive rules for executing frequently repeated operations with lists such as unification of lists, italicization and deletion of some list elements, sorting-out, list reversing and many others. The modified version contains a reference to new input predicates. The proposed Turbo Prologue version is easily expanded by new rules. Usage of this version makes programmer’s work easier and promotes development of new programs where it is necessary to work with lists.

About the Authors

A. T. Kovalkov
Belarusian National Technical University


I. A. Kovalkova
Belarusian National Technical University


References

1. Шрайнер, П. А. Основы программирования на языке Пролог / П. А. Шрайнер. – М. : Интернет-ун-т информ. технологий, 2005. – 176 с.

2. http://ru.wikipedia.org/wiki/Prolog

3. Адаменко, А. Н. Логическое программирование и Visual Prolog / А. Н. Адаменко, А. М. Кучуков. – СПб. : БХВ-Петербург, 2003. – 992 с.


Review

For citations:


Kovalkov A.T., Kovalkova I.A. EXPANSION OF TURBO PROLOGUE PROGRAMMING SYSTEM BY PREDICATES FOR LIST PROCESSING. Science & Technique. 2008;(1):50-51. (In Russ.)

Views: 2166


Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.


ISSN 2227-1031 (Print)
ISSN 2414-0392 (Online)