D
D
Denis3382015-02-13 18:20:55
Prolog
Denis338, 2015-02-13 18:20:55

How do you work with blocks in the Turbo Prolog editor?

How do you work with blocks in the Turbo Prolog editor?
How to copy text from the secondary editor to the main one?
What are the ways to enable tracing mode?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
MinasAbrahamyan, 2015-03-14
@MinasAbrahamyan

Formally, the answer is: Blocks are not supported in the editor. The editor itself was very little functional. Copying, as far as I remember, was not supported - it's like the Turbo C 2.0 editor, that is, it is extremely unfunctional: it was only supported to write the file and open it in another window, that's all copy&paste.
The same with tracing: you could turn on something that gave out all the steps (that is, all the unifications, speaking in the language of the prologue) - and this worked terribly slowly on an ancient machine. Issued or everything. or nothing. Also not very functional, if not very dull. here are the details: life-prog.ru/view_zam.php?id=213&cat=13&page=2
But I sincerely don’t understand why Turbo Prolog (I hope at least version 2.0) running under DOS was chosen to study Prolog in 2015 and this prolog itself died and its Borland company and everything related too.
Let's say that in 1995-96 I did a term paper on it, then there were few prologues, but I think even then it was possible to choose something better. But on our ancient 286 lab machine, with its creepy EGA-emitting screen, there was nothing better, nothing else. then and there. OK. But why choose this now - I do not understand.
Take modern Prologues, they are much better. For example, what is used by the most famous modern user of Prolog - IBM Watson: he uses SWI-Prolog (Watson still uses, due to the presence of JIT, the paid Swedish SICStus Prolog, ok leave it.).
So, I might suggest using SWI-Prolog, even in my department, as I found out later, they used Amzi! Prolog, and Visual Prolog. SWI-Prolog is considered the most friendly, and it is available for all 3 platforms: Windows, Linux, Mac OS X. And if suddenly the speed of the compiled finished application is not enough, you can switch to YAP Prolog or GNU Prolog.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question