PDA

View Full Version : Prolog



ssharish2005
10-15-2008, 04:18 PM
Can anyone suggest me a Prolog programming form or a community site please.

Thanks, ssharish

Dino
10-15-2008, 04:39 PM
Try this link. I coded it up for you special: Idiot Button (http://www.google.com/search?client=safari&rls=en-us&q=prolog+programming+forum&ie=UTF-8&oe=UTF-8)

master5001
10-15-2008, 04:53 PM
To quote a famous scholar


The guy asked a question and gets his head bitten off. Maybe, just maybe, he asked the question here because this is a forum made up of people that are highly responsive and generally knowledgeable about these types of things. And generally, a little more polite.

Either way... I agree with his response to the OP on this thread.

Dino
10-15-2008, 06:30 PM
I expected that, and deserved it too, but there comes a point that it becomes ridiculous. Note that I did provide an answer, but it came with a slap in the face.

master5001
10-15-2008, 06:47 PM
Yeah but that was sort of me playing Devil's advocate a little bit. Simply because I know ssharish is no rookie here at these forums. And certainly misspellings can be overlooked when asking something important. Overall, I think you gave an appropriate level of hostility. Good show.

master5001
10-15-2008, 06:52 PM
Matt = nice (http://www.tek-tips.com/threadminder.cfm?pid=345);

brewbuck
10-15-2008, 09:19 PM
Can anyone suggest me a Prolog programming form or a community site please.

Thanks, ssharish

Who needs Prolog? I think some genius proved a while back that C++ templates + SFINAE are equivalent to Prolog, although the syntax is certainly horrific, and it gets even worse when you model the exact backtracking semantics ;)

@nthony
10-15-2008, 10:15 PM
and C structs + function pointers are equivalent to C++. The point is C++ helps you design in an OO-oriented manner just the same as Prolog helps you do so in terms of Resolution and binding.

ssharish2005
10-16-2008, 04:17 AM
Who needs Prolog? I think some genius proved a while back that C++ templates + SFINAE are equivalent to Prolog, although the syntax is certainly horrific, and it gets even worse when you model the exact backtracking semantics

I would ask the same question to my manager. He seems love it. But I donít. Since, I work for him; I need to really learn it!!! And most of his automation seems to be done in Prolog in my work place. Which is pretty wired? I think the systems which I am working could be better programming in a different language, like, I would say C. But he seems to use Prolog. Agree that it would help quite a lot on the searching and string handling and stuff!

I need to really get hold on with this language. Not many people use this language, do they????

ssharish

CornedBee
10-16-2008, 05:48 AM
A Prolog interpreter is also quite a bit better at its job than the typical C++ compiler.

Prolog is nice for very specialized areas. Say, a rule engine embedded in a bigger system.

robwhit
10-16-2008, 08:58 AM
BTW I think brewbuck was joking.

ssharish2005
10-16-2008, 09:54 AM
lol may be he was, but he was true to say that the backtracking in Prolog is so strange. Some time I miss out few predicated which just becomes so complicates in the whole debugging process. The trace routine isn't very great, when it comes to backtracking and pretty confusing when it comes to finding the returns of each predicate.

I was like working on CUT predicated. I should really say OH MY GOD!!! lol. I took a while to really understand that predicate. It does pretty clever stuff. Very difficult understand. And again it’s all about back tracking!!!!!!!!!!!!!1 lol

Can anyone suggest me any nice tool which I could use for debugging Prolog???

Or is it just TRACE we have (GOD of prolog really lol).

ssharish