Description:
Discussion about PROLOG.
|
|
|
Declarative loops and list comprehensions
|
| |
Hi, After adding into B-Prolog 7.4 the foreach built-ins for describing loops and the list comprehension notation for constructing lists, I felt that these constructs could benefit Prolog in general. Therefore, I have made the updated interpreter available at: [link] It can easily be ported to other Prolog systems. B-Prolog compiles... more »
|
|
comp.lang.prolog Frequently Asked Questions
|
| |
Frequently Asked Questions - comp.lang.prolog Last-modified: 2009-11-16 Last-changes: Mention irc.freenode.net's #prolog channel. Terrence Brannon. Markus Triska (Mar. 2 2007 - ... ) Remko Troncon (Jan. 6 2002 - Mar. 2 2007) Dirk-Jan Faber (Feb. 1 1999 - Jan. 6 2002) Jamie Andrews (Aug 26 1992 - Oct. 16 1997)... more »
|
|
dif/2, an illustration
|
| |
The predicate dif/2 was proposed in A. Colmerauer's Prolog II language in 1981. His later work in constraint logic programming is well- known, and prompted by Markus Triska's enthusiasm for using this as introductory element of Prolog, I formulate the follow example both to illustrate the benefits of dif/2 and to elevate discussion of whether... more »
|
|
I love Prolog
|
| |
I'm nowhere near being a prolog expert. I dont know what difference lists are, etc. But I love stating facts and having Prolog do the rest. I just wrote a computer program to calculate the importance of food versus water versus heat in survival in Prolog: [link]... more »
|
|
I.Bratko chapter #1
|
| |
In chapter 1.2 Bratko presents relation sister which uses predicate different. He "assumes" that it is known to the prolog system. However, both SWI prolog and Gnu prolog do not know about it. I understand that this is a trivial matter, however the relation sister is needed to solve several exercises in this section of the book,... more »
|
|
How to start prolog with macos 10.6.2
|
| |
Sorry about a boring question: I downloaded swi-prolog-5.8.2 an tried to install failure.. XGP ?? yes bit every description in English. I can order a cup of tea, but its hard to work with English manuals. Is there anybody here, who can bring me to the state, how to write strauss.pro or strauss.pl and run this (with XGP). And please do this in... more »
|
|
XPCE how to resize a picture?
|
| |
This must be pretty basic... I can create a dialog in SWI-Prolog/XPCE with buttons and a picture, and use the buttons to request drawing in the picture and to quit the dialog, etc. The one thing I can't figure out is how to resize the picture. Sending it recogniser, new (resize_gesture) does not add any new behavior. Sending it an explicit... more »
|
|
DES1.8.0 Released
|
| |
[Apologies for multiple receptions] Hello. This is a mail just for informing that the new release Datalog Educational System version 1.8.0 [link] has been launched on December, 18th, 2009, and ported to Ciao Prolog 1.10p5 GNU Prolog 1.3.1 SICStus Prolog 3.12.2 SWI Prolog 5.8.2... more »
|
|
comp.lang.prolog Frequently Asked Questions
|
| |
Frequently Asked Questions - comp.lang.prolog Last-modified: 2009-11-16 Last-changes: Mention irc.freenode.net's #prolog channel. Terrence Brannon. Markus Triska (Mar. 2 2007 - ... ) Remko Troncon (Jan. 6 2002 - Mar. 2 2007) Dirk-Jan Faber (Feb. 1 1999 - Jan. 6 2002) Jamie Andrews (Aug 26 1992 - Oct. 16 1997)... more »
|
|
|