Prolog

This is a discussion on Prolog within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Can anyone suggest me a Prolog programming form or a community site please. Thanks, ssharish...

  1. #1
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682

    Prolog

    Can anyone suggest me a Prolog programming form or a community site please.

    Thanks, ssharish
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  2. #2
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    Try this link. I coded it up for you special: Idiot Button
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    To quote a famous scholar

    Quote Originally Posted by Dino View Post
    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.

  4. #4
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Katy, Texas
    Posts
    2,309
    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.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    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.

  6. #6
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    Matt = nice;

  7. #7
    Captain Crash brewbuck's Avatar
    Join Date
    Mar 2007
    Location
    Portland, OR
    Posts
    7,274
    Quote Originally Posted by ssharish2005 View Post
    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
    Code:
    //try
    //{
    	if (a) do { f( b); } while(1);
    	else   do { f(!b); } while(1);
    //}

  8. #8
    Registered Abuser
    Join Date
    Jun 2006
    Location
    Toronto
    Posts
    591
    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.

  9. #9
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    Quote Originally Posted by brewbuck View Post
    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
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

  10. #10
    Cat without Hat CornedBee's Avatar
    Join Date
    Apr 2003
    Posts
    8,893
    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.
    All the buzzt!
    CornedBee

    "There is not now, nor has there ever been, nor will there ever be, any programming language in which it is the least bit difficult to write bad code."
    - Flon's Law

  11. #11
    Registered User
    Join Date
    Oct 2001
    Posts
    2,129
    BTW I think brewbuck was joking.

  12. #12
    Registered User ssharish2005's Avatar
    Join Date
    Sep 2005
    Location
    Cambridge, UK
    Posts
    1,682
    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
    Life is like riding a bicycle. To keep your balance you must keep moving - Einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Prolog
    By anirban in forum Tech Board
    Replies: 4
    Last Post: 02-25-2008, 09:40 PM
  2. Prolog Compilers?
    By indigo0086 in forum Tech Board
    Replies: 0
    Last Post: 08-30-2007, 08:04 AM
  3. Should I learn C++ or Prolog?
    By coreyt1111 in forum C++ Programming
    Replies: 10
    Last Post: 11-14-2006, 09:35 AM
  4. Prolog
    By YankeePride13 in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-15-2005, 03:50 PM
  5. Prolog
    By bob20 in forum A Brief History of Cprogramming.com
    Replies: 6
    Last Post: 12-03-2002, 07:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21