Discussions related to Visual Prolog
archit507
Posts: 14
Joined: 24 Oct 2016 10:02

Unread post by archit507 »

Hi Thomas,

Can you please tell me about what the use cases will be that we can showcase to customers and how customers can start using Prolog in their Enterprise today.

Thank you.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1232
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

I do not understand the question.
Regards Thomas Linder Puls
PDC
archit507
Posts: 14
Joined: 24 Oct 2016 10:02

Unread post by archit507 »

I mean can you tell me any real time scenarios using prolog and how we can use that.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1232
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

That did not help.
Regards Thomas Linder Puls
PDC
archit507
Posts: 14
Joined: 24 Oct 2016 10:02

Unread post by archit507 »

Okay leave that Thomas. I have one more question regarding SWI-Prolog.
I SWI-Prolog can we give the queries dynamically? and if so, do you have any sample code regarding that?

Thank you.
User avatar
Thomas Linder Puls
VIP Member
Posts: 1232
Joined: 28 Feb 2000 0:01

Unread post by Thomas Linder Puls »

Maybe the problem is that I don't understand/know your customer relation.

The normal situation is that our customers uses Visual Prolog to write a program that their customers use in their enterprise. So normally our customer's customers does not use Visual Prolog, but a program written in Visual Prolog.

But your question sounds like you want your customers to use Visual Prolog themselves?

Anyways, regarding the other part of your question:

Visual Prolog produces compiled programs running a single goal. There is no interactive/dynamical mode.

To produce something that does have an interactive mode you will have to embed a query language of your own.

The examples that comes with Visual Prolog contains both PIE which is an old-fashioned Prolog interpreter system with "interactive mode". Furthermore, the pieDemo demonstrates how the engine from PIE can be used in your own project to become interactive with your own code.
Regards Thomas Linder Puls
PDC
Post Reply