Description:
Discussion about PROLOG.
|
|
|
Editing List Members
|
| |
Dear All, I am running a programme that calculates a list, but due to string_to_list and string_to_atom calls, I end up with a list that looks like the following: X = ['oneelement', 'anotherelement'] - list elements will be of the form (x,"(0,a,1)",y) - and I would like the output to be X = [oneelement, anotherelement].... more »
|
|
Java Beans <--> Prolog
|
| |
Does anyone know of a library that will let me easily translate between Java beans and Prolog functors? For example, if I have: class MyBean { public MyBean(String name, int value) { this.name = name; this.value = value; } String name; int value; ...Then an equivalent as a Prolog functor might be something like:... more »
|
|
One man,one goat,one cabbage and one wolf
|
| |
Hi, I have tried to solve the problem mentioned in the subject. What I wrote doesn't go through all possibilities up to depth 8(which is what I wanted). We are trasnfering the objects from Left -> Right If at any time the Left bank remains empty then we immediately exit. The sideGood predicate assures that the side is in conformity with our... more »
|
|
SWI-Prolog web interface
|
| |
I am developing a web interface using SWI-Prolog, I need a link to open in a new window (in html it would be target="_blank"). I have read the documentation several times, but I am unable to find out how to do this. Any help will be appreciated. Thanks in advance, Belen T.
|
|
Write the full output
|
| |
...Well a writeList([H | T]) :- write(H), nl, writeList(T). writeList([]). with using it after the calculation of G is doing the job. Mike
|
|
Accumulating data from a file
|
| |
Suppose I have a file of the format: A 1,3,7 B 4,3,9 A 7,4,5 ... What I need to do is produce output of the form: A 1,3,7,4,5 B 4,3,9, i.e. a list of unique #'s for each character. I figure that the best way to parse this file would be to read a line at a time & use a DCG to extract the character & numbers from each line. After I have... more »
|
|
Prolog IDE
|
| |
Hi! A couple of months ago I started developing prolog support for the eclipse platform ([link]). It's called ProDT and it's in a very early stage of development so please be patient. You can see it at [link] One of the goals is to create a prolog IDE as rich in functionality as... more »
|
|
Special Issue IEEE TKDE: Call for Contributions
|
| |
[ our apologies should you receive this message more than one time ] ============================== ============================== =============== CALL FOR PAPERS Rule Representation, Interchange and Reasoning in Distributed, Heterogeneous Environments... more »
|
|
Error: Exit code 1 (wrong path)
|
| |
Dear All, I am a student and I used SWI-Prolog since a few weeks. SWI-Prolog is installed on my home PC but also on my company's laptop. The software works fine on the home machine, but on the laptop I cannot start it because I get the Exit code 1! Using a SWI-Prolog- Editor (see [link]) I... more »
|
|
|